Part Number Hot Search : 
MF443PT P60N55 JANTXV2 ISL95808 7FLITE 7FLITE BZX84C11 30102
Product Description
Full Text Search
 

To Download MT9V032C12STM-DR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? semiconductor components industries, llc, 2006 may, 2017 ? rev. 7 1 publication order number: mt9v032/d mt9v032 mt9v032 1/3\inch wide vga cmos digital image sensor table 1. key performance parameters parameter value optical format 1/3-inch active imager size 4.51 mm (h) 2.88 mm (v) 5.35 mm diagonal active pixels 752h 480 v pixel size 6.0  m 6.0  m color filter array monochrome or color rgb bayer pattern shutter type global shutter maximum data rate master clock 26.6 mps/26.6 mhz full resolution 752 x 480 frame rate 60 fps (at full resolution) adc resolution 10 ? bit column ? parallel responsivity 4.8 v/lux ? sec (550 nm) dynamic range >55 db; >80 db ? 100db in hdr mode supply voltage 3.3 v 0.3 v (all supplies) power consumption <320 mw at maximum data rate; 100  w standby power operating temperature ? 30 c to + 70 c packaging 48 ? pin clcc features ? array format: wide ? vga, active 752h x 480v (360,960 pixels) ? global shutter photodiode pixels; simultaneous integration and readout ? monochrome or color: near_ir enhanced performance for use with non ? visible nir illumination ? readout modes: progressive or interlaced ? shutter efficiency: >99% ? simple two ? wire serial interface ? register lock capability ? window size: user programmable to any smaller format (qvga, cif, qcif, etc.). data rate can be maintained independent of window size ? binning: 2 x 2 and 4 x 4 of the full resolution ? adc: on ? chip, 10 ? bit column ? parallel (option to operate in 12 ? bit to 10 ? bit companding mode) ? automatic controls: auto exposure control (aec) and auto gain control (agc); variable regional and variable weight aec/agc www. onsemi.com see detailed ordering and shipping information on pag e2 of this data sheet. ordering information ? support for four unique serial control register ids to control multiple imagers on the same bus ? data output formats: ? single sensor mode: 10 ? bit parallel/stand ? alone 8 ? bit or 10 ? bit serial lvds ? stereo sensor mode: interspersed 8 ? bit serial lvds applications ? security ? high dynamic range imaging ? unattended surveillance ? stereo vision ? video as input ? machine vision ? automation clcc48 11.43 11.43 case 848aq
mt9v032 www. onsemi.com 2 table of contents ordering information 3 general description 4 pixel data format 8 color device limitations 9 output data format 10 serial bus description 12 two ? wire serial interface sample read and write sequences 14 registers 16 feature description 31 on ? chip biases 34 window control 35 blanking control 36 pixel integration control 37 gain settings 40 read mode options 45 electrical specifications 50 temperature reference 55 appendix a ? serial configurations 57 appendix b ? power ? on reset and standby timing 60
mt9v032 www. onsemi.com 3 ordering information table 2. available part numbers part number product description orderable product attribute description ? mt9v032c12stcd3 ? gevk 48 ? pin clcc demo3 kit (color) mt9v032c12stcd ? gevk 48 ? pin clcc demo kit (color) mt9v032c12stc ? dp 48 ? pin clcc (color) dry pack with protective film mt9v032c12stc ? dr 48 ? pin clcc (color) dry pack without protective film mt9v032c12stch ? gevb 48 ? pin clcc headboard only (color) mt9v032c12stc ? tp 48 ? pin clcc (color) tape & reel with protective film mt9v032c12stmd ? gevk 48 ? pin clcc demo kit (mono) mt9v032c12stm ? dp 48 ? pin clcc (mono) dry pack with protective film mt9v032c12stm ? dr 48 ? pin clcc (mono) dry pack without protective film mt9v032c12stmh ? gevb 48 ? pin clcc headboard only (mono) mt9v032c12stm ? tp 48 ? pin clcc (mono) tape & reel with protective film ?for information on tape and reel specifications, including part orientation and tape sizes, please refer to our tape and reel packaging specification brochure, brd8011/d. see the on semiconductor device nomenclature document ( tnd310/d ) for a full description of the naming convention used for image sensors. for reference documentation, including information on evaluation kits, please visit our web site at www.onsemi.com .
mt9v032 www. onsemi.com 4 general description the on semiconductor mt9v032 is a 1/3 ? inch wide ? vga format cmos active ? pixel digital image sensor with global shutter and high dynamic range (hdr) operation. the sensor has specifically been designed to support the demanding interior and exterior surveillance imaging needs, which makes this part ideal for a wide variety of imaging applications in real ? world environments. this wide ? vga cmos image sensor features on semiconductor?s breakthrough low ? noise cmos imaging technology that achieves ccd image quality (based on signal ? to ? noise ratio and low ? light sensitivity) while maintaining the inherent size, cost, and integration advantages of cmos. the active imaging pixel array is 752h x 480v. it incorporates sophisticated camera functions on ? chip?such as binning 2 x 2 and 4 x 4, to improve sensitivity when operating in smaller resolutions?as well as windowing, column and row mirroring. it is programmable through a simple two ? wire serial interface. the mt9v032 can be operated in its default mode or be programmed for frame size, exposure, gain setting, and other parameters. the default mode outputs a wide ? vga ? size image at 60 frames per second (fps). an on ? chip analog ? to ? digital converter (adc) provides 10 bits per pixel. a 12 ? bit resolution companded for 10 bits for small signals can be alternatively enabled, allowing more accurate digitization for darker areas in the image. in addition to a traditional, parallel logic output the mt9v032 also features a serial low ? voltage differential signaling (lvds) output. the sensor can be operated in a stereo ? camera, and the sensor, designated as a stereo ? master, is able to merge the data from itself and the stereo ? slave sensor into one serial lvds stream. control register timing and control digital processing analog processing adcs active ? pixel sensor (aps) array 752h x 480 v slave video lvds in (for stereo applications only) serial video lvds out parallel video data out serial register i/o figure 1. block diagram
mt9v032 www. onsemi.com 5 figure 2. 48-pin clcc pinout diagram 1 2 3 4 5 6 44 43 19 20 21 22 23 24 25 26 27 28 29 30 7 8 9 10 11 12 13 14 15 16 17 18 42 41 40 39 38 37 36 35 34 33 32 31 48 47 46 45 lvdsgnd bypass_clkin_n line_valid frame_valid s data s_strl_adro nc v aa standby s_ctrl_adr1 vddlvds d gnd d out 0 bypass_clkin_p ser_datain_n ser_datain_p lvdsgnd d gnd v dd d out 5 d out 6 d out 7 d out 8 ser_dataout_n ser_dataout_p shft_clkout_n shft_clkout_p v dd sysclk pixclk d out 1 d out 2 d out 3 d out 4 vaapix a gnd nc v aa a gnd reset# d out 9 stln_out exposure sclk stfrm_out led_out oe rsvd table 3. pin descriptions (only pins d out 0 through d out 9 may be tri ? stated) 48 ? pin llcc numbers symbol type descriptions note 29 rsvd input connect to d gnd . 1 10 ser_datain_n input serial data in for stereoscopy (differential negative). tie to 1k  pull ? up (to 3.3v) in non ? stereoscopy mode. 11 ser_datain_p input serial data in for stereoscopy (differential positive). tie to d gnd in non ? stereoscopy mode. 8 bypass_clkin_n input input bypass shift ? clk (differential negative). tie to 1k  pull ? up (to 3.3v) in non ? stereoscopy mode. 9 bypass_clkin_p input input bypass shift ? clk (differential positive). tie to d gnd in non ? stereoscopy mode. 23 exposure input rising edge starts exposure in slave mode. 25 sclk input two ? wire serial interface clock. connect to v dd with 1.5k resistor even when no other two ? wire serial interface peripheral is attached. 28 oe input d out enable pad, active high. 2 30 s_ctrl_adr0 input two ? wire serial interface slave address bit 3. 31 s_ctrl_adr1 input two ? wire serial interface slave address bit 5. 32 reset# input asynchronous reset. all registers assume defaults. 33 standby input shut down sensor operation for power saving.
mt9v032 www. onsemi.com 6 table 3. pin descriptions (only pins d out 0 through d out 9 may be tri ? stated) 48 ? pin llcc numbers note descriptions type symbol 47 sysclk input master clock (26.6 mhz). 24 s data i/o two ? wire serial interface data. connect to v dd with 1.5k resistor even when no other two ? wire serial interface peripheral is attached. 22 stln_out i/o output in master mode ? start line sync to drive slave chip in ? phase; input in slave mode. 26 stfrm_out i/o output in master mode ? start frame sync to drive a slave chip in ? phase; input in slave mode. 20 line_valid output asserted when d out data is valid. 21 frame_valid output asserted when d out data is valid. 15 d out 5 output parallel pixel data output 5. 16 d out 6 output parallel pixel data output 6. 17 d out 7 output parallel pixel data output 7. 18 d out 8 output parallel pixel data output 8 19 d out 9 output parallel pixel data output 9. 27 led_out output led strobe output. 41 d out 4 output parallel pixel data output 4. 42 d out 3 output parallel pixel data output 3. 43 d out 2 output parallel pixel data output 2. 44 d out 1 output parallel pixel data output 1. 45 d out 0 output parallel pixel data output 0. 46 pixclk output pixel clock out. d out is valid on rising edge of this clock. 2 shft_clkout_n output output shift clk (differential negative). 3 shft_clkout_p output output shift clk (differential positive). 4 ser_dataout_n output serial data out (differential negative). 5 ser_dataout_p output serial data out (differential positive). 1, 14 v dd supply digital power 3.3v. 35, 39 v aa supply analog power 3.3v. 40 vaapix supply pixel power 3.3v. 6 v dd lvds supply dedicated power for lvds pads. 7, 12 lvdsgnd ground dedicated gnd for lvds pads. 13, 48 d gnd ground digital gnd. 34, 38 a gnd ground analog gnd. 36, 37 nc nc no connect. 3 1. pin 29 (rsvd) must be tied to gnd 2. output enable (oe) tri ? states signals d out 0?d out 9. no other signals are tri ? stated with oe. 3. no connect. these pins must be left floating for proper operation.
mt9v032 www. onsemi.com 7 master clock standby from controller or digital gnd two ? wire serial interface sysclk oe reset# exposure standby s_ctrl_adr0 s_ctrl_adr1 sclk sdata rsvd lvdsgnd d out (9:0 ) d gnd a gnd line_valid frame_valid pixclk led_out error to controller to led output v dd lvds v dd v dd v aa v aa vaapix vaapix 10k  1.5k  0.1  f figure 3. typical configuration (connection) ? parallel output mode note: lvds signals are to be left floating. v dd v dd v aa v aa v dd lvds d out (9:0) master clock standby from controller or digital gnd two ? wire serial interface sysclk oe reset# exposure standby s_ctrl_adr0 s_ctrl_adr1 sclk sdata rsvd lvdsgnd d out (9:0 ) d gnd a gnd line_valid frame_valid pixclk led_out error to controller to led output v dd lvds v dd v dd v aa v aa vaapix vaapix 10k  1.5k  0.1  f note: lvds signals are to be left floating. v dd v dd v aa v aa v dd lvds d out (9:0) d gnd
mt9v032 www. onsemi.com 8 pixel data format pixel array structure the mt9v032 pixel array is configured as 782 columns by 492 rows, shown in figure 4. the left 26 columns and the top eight rows of pixels are optically black and can be used to monitor the black level. the black row data is used internally for the automatic black level adjustment. however, the middle four black rows can also be read out by setting the sensor to raw data output mode. there are 753 columns by 481 rows of optically active pixels. the active area is surrounded with optically transparent dummy columns and rows to improve image uniformity within the active area. one additional active column and active row are used to allow horizontally and vertically mirrored readout to also start on the same color pixel. 8 dark, 1 light dummy rows 2 dummy rows 2 dummy columns 26 dark, 1 light dummy columns (0.0) (782,492) figure 4. pixel array description pixel (2,9) . . . . . . g b g b g b r g r g r g g b g b g b r g r g r g g b g b g b r g r g r g g b g b g b figure 5. pixel color pattern detail (top right corner) column readout direction row readout direction r g r g r g
mt9v032 www. onsemi.com 9 color device limitations the color version of the mt9v032 does not support or offers reduced performance for the following functionalities. pixel binning pixel binning is done on immediate neighbor pixels only; no facility is provided to skip pixels according to a bayer pattern. therefore, the result of binning combines pixels of different colors. for more information, see ?pixel binning?. interlaced readout interlaced readout yields one field consisting only of red and green pixels and another consisting only of blue and green pixels. this is due to the bayer pattern of the cfa. automatic black level calibration when the color bit is set (r0x0f[2]=1), the sensor uses green1 pixels black level correction value, which is applied to all colors. to use calibration value based on all dark pixels offset values, the color bit should be cleared. other limiting factors black level correction and row ? wise noise correction are applied uniformly to each color. automatic exposure and gain control calculations are made based on all three colors, not just the green luma channel. high dynamic range does operate; however, on semiconductor strongly recommends limiting use to linear operation if good color fidelity is required.
mt9v032 www. onsemi.com 10 output data format the mt9v032 image data can be read out in a progressive scan or interlaced scan mode. valid image data is surrounded by horizontal and vertical blanking, as shown in figure 6. the amount of horizontal and vertical blanking is programmable through r0x05 and r0x06, respectively. line_valid is high during the shaded region of the figure. see ?output data timing? for the description of frame_valid timing. valid image horizontal blanking vertical/horizontal blanking vertical blanking 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 p 0,0 p 0,1 p 0,2 ???? p 0,n ? 1 p 0,n p 1,0 p 1,1 p 1,2 ???? p 1,n ? 1 p 1,n p m ? 1,0 p m ? 1,1 ???? p m ? 1,n ? 1 p m ? 1,n p m,0 p m,1 ???? p m,n ? 1 p m,n figure 6. spatial illustration of image readout output data timing the data output of the mt9v032 is synchronized with the pixclk output. when line_valid is high, one 10 ? bit pixel datum is output every pixclk period. line_valid pixclk blanking valide image data blanking p 0 (9:0) p 1 (9:0) p 2 (9:0) p 3 (9:0) p 4 (9:0) p n ? 1 (9:0) p n (9:0) ? ? ? ? figure 7. timing example of pixel data d out (9:0) the pixclk is a nominally inverted version of the master clock (sysclk). this allows pixclk to be used as a clock to latch the data. however, when column bin 2 is enabled, the pixclk is high for one complete master clock master period and then low for one complete master clock period; when column bin 4 is enabled, the pixclk is high for two complete master clock periods and then low for two complete master clock periods. it is continuously enabled, even during the blanking period. setting r0x74 bit[4] = 1 causes the mt9v032 to invert the polarity of the pixclk. the parameters p1, a, q, and p2 in figure 8 are defined in table 4.
mt9v032 www. onsemi.com 11 figure 8. row timing and frame_valid/line_valid signals p1 a qa qa p2 frame_valid line_valid ... ... ... number of master clocks table 4. frame time ? larger than one frame parameter name equation default timing at 26.66 mhz a active data time r0x04 752 pixel clocks = 752 master = 28.20  s p1 frame start blanking r0x05 ? 23 71 pixel clocks = 71master = 2.66  s p2 frame end blanking 23 (fixed) 23 pixel clocks = 23 master = 0.86  s q horizontal blanking r0x05 94 pixel clocks = 94 master = 3.52  s a+q row time r0x04 + r0x05 846 pixel clocks = 846 master = 31.72  s v vertical blanking (r0x06) x (a + q) + 4 38,074 pixel clocks = 38,074 master = 1.43ms nrows x (a + q) frame valid time (r0x03) (a + q) 406,080 pixel clocks = 406,080 master = 15.23ms f total frame time v + (nrows x (a + q)) 444,154 pixel clocks = 444,154 master = 16.66ms sensor timing is shown above in terms of pixel clock and master clock cycles (refer to figure 7). the recommended master clock frequency is 26.66 mhz. the vertical blanking and total frame time equations assume that the number of integration rows (bits 11 through 0 of r0x0b) is less than the number of active rows plus blanking rows minus overhead rows (r0x03 + r0x06 ? 2). if this is not the case, the number of integration rows must be used instead to determine the frame time, as shown in table 5. in this example it is assumed that r0x0b is programmed with 523 rows. for simultaneous mode, if the exposure time register (0x0b) exceeds the total readout time, then vertical blanking is internally extended automatically to adjust for the additional integration exposure time required. this extended value is not written back to r0x06 (vertical blanking). r0x06 can be used to adjust frame to frame readout time. this register does not affect the exposure time but it may extend the readout time. table 5. frame time ? long integration time parameter name equation (number of master clock cycles) default timing at 26.66 mhz v? vertical blanking (long integration time) (r0x0b + 2 ? r0x03) (a + q) + 4 38,074 pixel clocks = 38,074 master = 1.43ms f? total frame time (long integration exposure time) (r0x0b + 2) (a + q) + 4 444,154 pixel clocks = 444,154 master = 16.66ms 4. the mt9v032 uses column parallel analog ? to ? digital converters, thus short row timing is not possible. the minimum total row time is 660 columns (horizontal width + horizontal blanking). the minimum horizontal blanking is 43. when the window width is set below 617, horizo ntal blanking must be increased. the frame rate will not increase for row times less than 660 columns.
mt9v032 www. onsemi.com 12 serial bus description registers are written to and read from the mt9v032 through the two ? wire serial interface bus. the mt9v032 is a serial interface slave with four possible ids (0x90, 0x98, 0xb0,and 0xb8) determined by the s_ctrl_adr0 and s_ctrl_adr1 input pins. data is transferred into the mt9v032 and out through the serial data (s data ) line. the s data line is pulled up to v dd off ? chip by a 1.5k  resistor. either the slave or master device can pull the s data line down?the serial interface protocol determines which device is allowed to pull the s data line down at any given time. the registers are 16 ? bit wide, and can be accessed through 16 ? or 8 ? bit two ? wire serial interface sequences. protocol the two ? wire serial interface defines several different transmission codes, as follows: ? a start bit ? the slave device 8 ? bit address ? a(n) (no) acknowledge bit ? an 8 ? bit message ? a stop bit sequence a typical read or write sequence begins by the master sending a start bit. after the start bit, the master sends the slave device?s 8 ? bit address. the last bit of the address determines if the request is a read or a write, where a ?0? indicates a write and a ?1? indicates a read. the slave device acknowledges its address by sending an acknowledge bit back to the master. if the request was a write, the master then transfers the 8 ? bit register address to which a write should take place. the slave sends an acknowledge bit to indicate that the register address has been received. the master then transfers the data 8 bits at a time, with the slave sending an acknowledge bit after each 8 bits. the mt9v032 uses 16 ? bit data for its internal registers, thus requiring two 8 ? bit transfers to write to one register. after 16 bits are transferred, the register address is automatically incremented, so that the next 16 bits are written to the next register address. the master stops writing by sending a start or stop bit. a typical read sequence is executed as follows. first the master sends the write mode slave address and 8 ? bit register address, just as in the write request. the master then sends a start bit and the read mode slave address. the master then clocks out the register data 8 bits at a time. the master sends an acknowledge bit after each 8 ? bit transfer. the register address is auto ? incremented after every 16 bits is transferred. the data transfer is stopped when the master sends a no ? acknowledge bit. the mt9v 032 allows for 8 ? bit data transfers through the two ? wire serial interface by writing (or reading) the most significant 8 bits to the register and then writing (or reading) the least significant 8 bits to r0xf0 (240). bus idle state the bus is idle when both the data and clock lines are high. control of the bus is initiated with a start bit, and the bus is released with a stop bit. only the master can generate the start and stop bits. start bit the start bit is defined as a high ? to ? low transition of the data line while the clock line is high. stop bit the stop bit is defined as a low ? to ? high transition of the data line while the clock line is high. slave address the 8 ? bit address of a two ? wire serial interface device consists of 7 bits of address and 1 bit of direction. a ?0? in the lsb of the address indicates write mode, and a ?1? indicates read mode. as indicated above, the mt9v032 allows four possible slave addresses determined by the two input pins, s_ctrl_adr0 and s_ctrl_adr1.
mt9v032 www. onsemi.com 13 table 6. slave address modes {s_ctrl_adr1, s_ctrl_adr0} slave address write/read mode 00 0x90 write 0x91 read 01 0x98 write 0x99 read 10 0xb0 write 0xb1 read 11 0xb8 write 0xb9 read data bit transfer one data bit is transferred during each clock pulse. the two ? wire serial interface clock pulse is provided by the master. the data must be stable during the high period of the serial clock?it can only change when the two ? wire serial interface clock is low. data is transferred 8 bits at a time, followed by an acknowledge bit. acknowledge bit the master generates the acknowledge clock pulse. the transmitter (which is the master when writing, or the slave when reading) releases the data line, and the receiver indicates an acknowledge bit by pulling the data line low during the acknowledge clock pulse. no ? acknowledge bit the no ? acknowledge bit is generated when the data line is not pulled down by the receiver during the acknowledge clock pulse. a no ? acknowledge bit is used to terminate a read sequence.
mt9v032 www. onsemi.com 14 two ? wire serial interface sample read and write sequences 16 ? bit write sequence a typical write sequence for writing 16 bits to a register is shown in figure 9. a start bit given by the master, followed by the write address, starts the sequence. the image sensor then gives an acknowledge bit and expects the register address to come first, followed by the 16 ? bit data. after each 8 ? bit word is sent, the image sensor gives an acknowledge bit. all 16 bits must be written before the register is updated. after 16 bits are transferred, the register address is automatically incremented, so that the next 16 bits are written to the next register. the master stops writing by sending a start or stop bit. figure 9. timing diagram showing a write to r0x09 with value 0x0284 sclk start ack 0xb8 addr 0000 0010 r0x09 ack ack ack stop 1000 0100 s data 16 ? bit read sequence a typical read sequence is shown in figure 10. first the master has to write the register address, as in a write sequence. then a start bit and the read address specify that a read is about to happen from the register. the master then clocks out the register data 8 bits at a time. the master sends an acknowledge bit after each 8 ? bit transfer. the register address is auto ? incremented after every 16 bits is transferred. the data transfer is stopped when the master sends a no ? acknowledge bit. figure 10. timing diagram showing a read from r0x09; returned value 0x0284 sclk start ack 0xb8 addr 0xb9 addr 0000 0010 r0x09 ack ack ack stop 1000 0100 nack s data 8 ? bit write sequence to be able to write 1 byte at a time to the register, a special register address is added. the 8 ? bit write is done by first writing the upper 8 bits to the desired register and then writing the lower 8 bits to the special register address (r0xf0). the register is not updated until all 16 bits have been written. it is not possible to just update half of a register. in figure 11, a typical sequence for 8 ? bit writing is shown. the second byte is written to the special register (r0xf0). figure 11. timing diagram showing a bytewise write to r0x09 with value 0x0284 stop ack start 0xb8 addr ack sclk ack ack ack ack r0x09 0xb8 addr 0000 0010 1000 0100 start s data r0xf0 8 ? bit read sequence to read one byte at a time the same special register address is used for the lower byte. the upper 8 bits are read from the desired register. by following this with a read from the special register (r0xf1) the lower 8 bits are accessed (figure 12). the master sets the no ? acknowledge bits shown.
mt9v032 www. onsemi.com 15 figure 12. timing diagram showing a bytewise read from r0x09; returned value 0x0284 start 0xb9 addr sclk stop ack ack ack r0x09 start 0xb8 addr 0000 0010 start 0xb9 addr sclk nack ack ack ack start 0xb8 addr 1000 0100 s data s data nack r0xf0 register lock included in the mt9v032 is a register lock (r0xfe) feature that can be used as a solution to reduce the probability of an inadvertent noise ? triggered two ? wire serial interface write to the sensor. all registers (or read mode register?register 13 only) can be locked. at power ? up, the register lock defaults to a value of 0xbeef, which implies that all registers are unlocked and any two ? wire serial interface writes to the register get committed. lock all registers if a unique pattern (0xdead) to r0xfe is programmed, any subsequent two ? wire serial interface writes to registers (except r0xfe) are not committed. alternatively, if the user writes a 0xbeef to the register lock register, all registers are unlocked and any subsequent two ? wire serial interface writes to the register are committed. lock read more register only (r0x0d) if a unique pattern (0xdeaf) to r0xfe is programmed, any subsequent two ? wire serial interface writes to register 13 are not committed. alternatively, if the user writes a 0xbeef to register lock register, register 13 is unlocked and any subsequent two ? wire serial interface writes to this register are committed.
mt9v032 www. onsemi.com 16 registers caution: writing and changing the value of a reserved register (word or bit) puts the device in an unknown state and may damage the device. table 7 provides default register descriptions of the registers. table 8 provides detailed descriptions of the registers. table 7. default register descriptions (1 = always 1;0 = always; d = programmable; ? = read only) register # (hex) description data format (binary) default value (hex) 0x00 chip version 0001 0011 0001 00001 (lsb) iter. 1: 0x1311 iter. 2: 0x1311 iter. 3: 0x1313 0x01 column start 0000 00dd dddd dddd 0x0001 0x02 row start 0000 000d dddd dddd 0x0004 0x03 window height 0000 000d dddd dddd 0x01e0 0x04 window width 0000 00dd dddd dddd 0x02f0 0x05 horizontal blanking 0000 00dd dddd dddd 0x005e 0x06 vertical blanking 0ddd dddd dddd dddd 0x002d 0x07 chip control 0000 dddd dddd dddd 0x0388 0x08 shutter width 1 0ddd dddd dddd dddd 0x01bb 0x09 shutter width 2 0ddd dddd dddd dddd 0x01d9 0x0a shutter width ctrl 0000 00dd dddd dddd 0x0164 0x0b total shutter width 0ddd dddd dddd dddd 0x01e0 0x0c reset 0000 0000 0000 00dd 0x0000 0x0d read mode 0000 0011 dddd dddd 0x0300 0x0e monitor mode 0000 0000 0000 000d 0x0000 0x0f pixel operation mode 0000 0000 dddd dddd 0x0011 0x10 reserved ? 0x0040 0x11 reserved ? 0x8042 0x12 reserved ? 0x0022 0x13 reserved ? 0x2d32 0x14 reserved ? 0x0e02 0x15 reserved ? 0x7f32 0x16 reserved ? 0x2802 0x17 reserved ? 0x3e38 0x18 reserved ? 0x3e38 0x19 reserved ? 0x2802 0x1a reserved ? 0x0428 0x1b led_out ctrl 0000 0000 0000 00dd 0x0000 0x1c adc mode control 0000 0000 0000 00dd 0x0002 0x1d reserved ? 0x0000 0x1e reserved ? 0x0000 0x1f reserved ? 0x0000 0x20 reserved ? 0x01d1 0x21 reserved ? 0x0020 0x22 reserved ? 0x0020 0x23 reserved ? 0x0010
mt9v032 www. onsemi.com 17 table 7. default register descriptions (continued)(1 = always 1;0 = always; d = programmable; ? = read only) register # (hex) default value (hex) data format (binary) description 0x24 reserved ? 0x0010 0x25 reserved ? 0x0020 0x26 reserved ? 0x0010 0x27 reserved ? 0x0010 0x28 reserved ? 0x0010 0x29 reserved ? 0x0010 0x2a reserved ? 0x0020 0x2b reserved ? 0x0004 0x2c v ref _adc control 0000 0000 0000 0ddd 0x0840 0x2d reserved ? 0x0004 0x2e reserved ? 0x0007 0x2f reserved ? 0x0004 0x30 reserved ? 0x0003 0x31 v1 0000 0000 000d dddd 0x001d 0x32 v2 0000 0000 000d dddd 0x0018 0x33 v3 0000 0000 000d dddd 0x0015 0x34 v4 0000 0000 000d dddd 0x0004 0x35 analog gain 0000 0000 0ddd dddd 0x0010 0x36 max analog gain 0000 0000 0ddd dddd 0x0040 0x37 reserved ? 0x0000 0x38 reserved ? 0x0000 0x42 frame dark average 0000 0000 ???? ???? ro 0x46 dark avg thresholds dddd dddd dddd dddd 0x231d 0x47 bl calib control 1000 0000 ddd0 000d 0x8080 0x48 bl calibration value 0000 0000 dddd dddd 0x0000 0x4c bl calib step size 0000 0000 000d dddd 0x0002 0x60 reserved ? 0x0000 0x61 reserved ? 0x0000 0x62 reserved ? 0x0000 0x63 reserved ? 0x0000 0x64 reserved ? 0x0000 0x65 reserved ? 0x0000 0x66 reserved ? 0x0000 0x67 reserved ? 0x0000 0x68 reserved ? ro 0x69 reserved ? ro 0x6a reserved ? ro 0x6b reserved ? ro 0x6c reserved ? 0x0000 0x70 row noise corr ctrl 1 0000 d000 00d1 dddd 0x0034 0x71 reserved ? 0x0000 0x72 row noise constant 0000 0000 dddd dddd 0x002a
mt9v032 www. onsemi.com 18 table 7. default register descriptions (continued)(1 = always 1;0 = always; d = programmable; ? = read only) register # (hex) default value (hex) data format (binary) description 0x73 row noise corr ctrl 2 0000 00dd dddd dddd 0x02f7 0x74 pixclk, fv, lv 0000 0000 000d dddd 0x0000 0x7f digital test pattern 0ddd ddd dddd dddd 0x0000 0x80 tile weight/gain x0_y0 0000 0000 dddd dddd 0x00f4 0x81 tile weight/gain x1_y0 0000 0000 dddd dddd 0x00f4 0x82 tile weight/gain x2_y0 0000 0000 dddd dddd 0x00f4 0x83 tile weight/gain x3_y0 0000 0000 dddd dddd 0x00f4 0x84 tile weight/gain x4_y0 0000 0000 dddd dddd 0x00f4 0x85 tile weight/gain x0_y1 0000 0000 dddd dddd 0x00f4 0x86 tile weight/gain x1_y1 0000 0000 dddd dddd 0x00f4 0x87 tile weight/gain x2_y1 0000 0000 dddd dddd 0x00f4 0x88 tile weight/gain x3_y1 0000 0000 dddd dddd 0x00f4 0x89 tile weight/gain x4_y1 0000 0000 dddd dddd 0x00f4 0x8a tile weight/gain x0_y2 0000 0000 dddd dddd 0x00f4 0x8b tile weight/gain x1_y2 0000 0000 dddd dddd 0x00f4 0x8c tile weight/gain x2_y2 0000 0000 dddd dddd 0x00f4 0x8d tile weight/gain x3_y2 0000 0000 dddd dddd 0x00f4 0x8e tile weight/gain x4_y2 0000 0000 dddd dddd 0x00f4 0x8f tile weight/gain x0_y3 0000 0000 dddd dddd 0x00f4 0x90 tile weight/gain x1_y3 0000 0000 dddd dddd 0x00f4 0x91 tile weight/gain x2_y3 0000 0000 dddd dddd 0x00f4 0x92 tile weight/gain x3_y3 0000 0000 dddd dddd 0x00f4 0x93 tile weight/gain x4_y3 0000 0000 dddd dddd 0x00f4 0x94 tile weight/gain x0_y4 0000 0000 dddd dddd 0x00f4 0x95 tile weight/gain x1_y4 0000 0000 dddd dddd 0x00f4 0x96 tile weight/gain x2_y4 0000 0000 dddd dddd 0x00f4 0x97 tile weight/gain x3_y4 0000 0000 dddd dddd 0x00f4 0x98 tile weight/gain x4_y4 0000 0000 dddd dddd 0x00f4 0x99 tile coord. x 0/5 0000 00dd dddd dddd 0x0000 0x9a tile coord. x 1/5 0000 00dd dddd dddd 0x0096 0x9b tile coord. x 2/5 0000 00dd dddd dddd 0x012c 0x9c tile coord. x 3/5 0000 00dd dddd dddd 0x01c2 0x9d tile coord. x 4/5 0000 00dd dddd dddd 0x0258 0x9e tile coord. x 5/5 0000 00dd dddd dddd 0x02f0 0x9f tile coord. y 0/5 0000 000d dddd dddd 0x0000 0xa0 tile coord. y 1/5 0000 000d dddd dddd 0x0060 0xa1 tile coord. y 2/5 0000 000d dddd dddd 0x00c0 0xa2 tile coord. y 3/5 0000 000d dddd dddd 0x0120 0xa3 tile coord. y 4/5 0000 000d dddd dddd 0x0180 0xa4 tile coord. y 5/5 0000 000d dddd dddd 0x01e0 0xa5 aec/agc desired bin 0000 0000 00dd dddd 0x003a 0xa6 aec update frequency 0000 0000 0000 dddd 0x0002
mt9v032 www. onsemi.com 19 table 7. default register descriptions (continued)(1 = always 1;0 = always; d = programmable; ? = read only) register # (hex) default value (hex) data format (binary) description 0xa7 reserved ? 0x0000 0xa8 aec lpf 0000 0000 0000 00dd 0x0000 0xa9 agc update frequency 0000 0000 0000 dddd 0x0002 0xaa reserved ? 0x0000 0xab agc lpf 0000 0000 0000 00dd 0x0002 0xaf aec/agc enable 0000 0000 0000 00dd 0x0003 0xb0 aec/agc pix count dddd dddd dddd dddd 0xabe0 0xb1 lvds master ctrl 0000 0000 0000 dddd 0x0002 0xb2 lvds shift clk ctrl 0000 0000 000d 0ddd 0x0010 0xb3 lvds data ctrl 0000 0000 000d 0ddd 0x0010 0xb4 data stream latency 0000 0000 0000 00dd 0x0000 0xb5 lvds internal sync 0000 0000 0000 000d 0x0000 0xb6 lvds payload control 0000 0000 0000 000d 0x0000 0xb7 stereoscop. error ctrl 0000 0000 0000 0ddd 0x0000 0xb8 stereoscop. error flag 0000 0000 0000 000? ro 0xb9 lvds data output ???? ???? ???? ???? ro 0xba agc gain output 0000 0000 0??? ???? ro 0xbb aec gain output ???? ???? ???? ???? ro 0xbc agc/aec current bin 0000 0000 00?? ???? ro 0xbd maximum shutter width dddd dddd dddd dddd 0x01e0 0xbe agc/aec bin difference threshold 0000 0000 dddd dddd 0x0014 0xbf field blank 0000 000d dddd dddd 0x0016 0xc0 mon mode capture ctrl 0000 0000 dddd dddd 0x000a 0xc1 temperature 0000 00?? ???? ???? ro 0xc2 analog controls dddd dddd dddd dddd 0x0840 0xc3 ntsc fv & lv ctrl 0000 0000 0000 00dd 0x03840 0xc4 ntsc horiz blank ctrl dddd dddd dddd dddd 0x4416 0xc5 ntsc vert blank ctrl dddd dddd dddd dddd 0x4421 0xf0 bytewise addr ? 0x0000 0xf1 reserved ? reserved 0xfe register lock dddd dddd dddd dddd 0xbeef 0xff chip version 0001 0011 0000 0000 iter. 1: 0x1311 iter. 2 : 0x1311 iter. 3: 0x1313
mt9v032 www. onsemi.com 20 shadowed registers some sensor settings cannot be changed during frame readout. for example, changing the register window width (r0x04) part way through frame readout results in inconsistent line_valid behavior. to avoid this, the mt9v032 double buffers many registers by implementing a ?pending? and a ?live? version. two ? wire serial interface reads and writes access the pending register. the live register controls the sensor operation. the value in the pending register is transferred to a live register at a fixed point in the frame timing, called ?frame ? start.? frame ? start is defined as the point at which the first dark row is read out. by default, this occurs four row times before frame_valid goes high. to determine which registers or register fields are double ? buffered in this way, see the ?shadowed? column in table 8. ? shadowed n = no. the register value is updated and used immediately. y = yes. the register value is updated at next frame start. frame start is defined as when the first dark row is read out. by default this is four rows before frame_valid goes high. ? read/write r = read ? only register/bit. w = read/write register/bit. table 8 provides a detailed description of the registers. bit fields that are not identified in the table are read only. table 8. register descriptions bit bit name bit description default in hex (dec) shad- owed legal values (dec) read/ write 0x00/0xff (0/255) chip version 15:0 chip version chip version?read ? only iter. 1: 0x1311 (4881) iter. 2: 0x1311 (4881) iter. 3: 0x1313 (4883) r 0x01 (1) column start 9:0 column start the first column to be read out (not counting dark columns that may be read). to window the image down, set this register to the starting x value. readable/active col- umns are 1?752. 1 y 1?752 w 0x02 (2) row start 8:0 row start the first row to be read out (not counting any dark rows that may be read). to window the image down, set this register to the starting y value. setting a value less than four is not recommended since the dark rows should be read using r0x0d. 4 y 4?482 w 0x03 (3) window height 8:0 window height number of rows in the image to be read out (not counting any dark rows or border rows that may be read). 1e0 (480) y 1?480 w 0x04 (4) window width 9:0 window width number of columns in image to be read out (not counting any dark columns or border columns that may be read). 2f0 (752) y 1?752 w 0x05 (5) horizontal blanking 9:0 horizontal blanking number of blank columns in a row. minimum horizontal blanking is 43 columns. 05e (94) y 43?1023 w 0x06 (6) vertical blanking 14:0 vertical blanking number of blank rows in a frame. this number must be equal to or larger than four. 002d (45) y 4?3000 w 0x07 (7) chip control
mt9v032 www. onsemi.com 21 table 8. register descriptions 0x06 (6) vertical blanking 2:0 scan mode 0 = progressive scan. 1 = not valid. 2 = two ? field interlaced scan. even ? numbered rows are read first, and followed by odd ? numbered rows. 3 = single ? field interlaced scan. if start address is even number, only even ? numbered rows are read out; if start address is odd number, only odd ? numbered rows are read out. effective image size is decreased by half. 0 y 0, 2, 3 w 3 sensor master/slave mode 0 = slave mode. initiating exposure and readout is allowed. 1 = master mode. sensor generates its own exp sure and readout timing according to simultaneous/se- quential mode control bit. 1 y 0,1 w 4 sensor snapshot mode 0 = snapshot disabled. 1 = snapshot mode enabled. the start of frame is triggered by providing a pulse at exposure pin. sensor master/ slave mode should be set to logic 1 to turn on this mode. 0 y 0,1 w 5 stereoscopy mode 0 = stereoscopy disabled. sensor is stand ? alone and the pll generates a 320 mhz (x12) clock. 1 = stereoscopy enabled. the pll generates a 480 mhz (x18) clock. 0 y 0,1 w 6 stereoscopic master/slave mode 0 = stereoscopic master. 1 = stereoscopic slave. stereoscopy mode should be en- abled when using this bit. 0 y 0,1 w 7 parallel output enable 0 = disable parallel output. d out(9:0) are in high ? z. 1 = enable parallel output. 1 y 0,1 w 8 simultaneous/ sequential mode 0 = sequential mode. pixel and column readout takes place only after exposure is complete. 1 = simultaneous mode. pixel and column readout takes place in conjunction with exposure. 1 y 0,1 w 0x08 (8) shutter width 1 14:0 shutter width 1 the row number in which the first knee occurs. this may be used only when high dynamic range option (bit 6 of r0x0f) is enabled and exposure knee point auto adjust control bit is disabled. this register is not shadowed, but any change made does not take effect until the following new frame. 1bb (443) n 1?32767 w 0x09 (9) shutter width 2 14:0 shutter width 2 the row number in which the second knee occurs. this may be used only when high dynamic range option (bit 6 of r0x0f) is enabled and exposure knee point auto adjust control bit is disabled. this register is not shadowed, but any change made does not take effect until the following new frame. shutter width 2 = (bits 14:0) note: t 1 = shutter width 1; t 2 = shutter width 2 ? shutter 1; t 3 = total integration ? shutter width 2. 1d9 (473) n 1?32767 w 0x0a (10) shutter width control 3:0 t2 ratio one ? half to the power of this value indicates the ratio of duration time t 2 , when saturation control gate is adjusted to level v2 to total integration when exposure knee point auto adjust control bit is enabled. this register is not shadowed, but any change made does not take effect until the following new frame. t 2 = total integration ( ? ) t2_ratio . 4 n 0?15 w
mt9v032 www. onsemi.com 22 table 8. register descriptions 0x09 (9) shutter width 2 7:4 t3 ratio one ? half to the power of this value indicates the ratio of duration time t 3 , when saturation control gate is adjusted to level v3 to total integration when exposure knee point auto adjust control bit is enabled. this register is not shadowed, but any change made does not take effect until the following new frame. t 3 = total integration ( ? ) t3_ratio . note: t 1 = total integration ? t 2 ? t 3 . 6 n 0?15 w 8 exposure knee point auto adjust enable 0 = auto adjust disabled. 1 = auto adjust enabled. 1 n 0,1 w 9 single knee enable 0 = single knee disabled. 1 = single knee enabled. 0 n 0,1 w 0x0b (11) total shutter width 14:0 total shutter width total integration time in number of rows. this value is used only when aec is disabled only (bit 0 of register 175). this register is not shadowed, but any change made does not take effect until the following new frame. 1e0 (480) n 1?32767 w 0x0c (12) reset 0 soft reset setting this bit causes the sensor to abandon the current frame by resetting all digital logic except two ? wire serial interface configuration. this is a self ? resetting register bit and should always read ?0.? (this bit de ? asserts internal active low reset signal for 15 clock cycles.) 0 n 0, 1 w 1 auto block soft reset setting this bit causes the sensor to reset the automatic gain and exposure control logic. this is a self ? resetting register bit and should always read ?0.? (this bit de ? asserts internal active low reset signal for 15 clock cycles.) 0 y 0, 1 w 0x0d (13) read mode 1:0 row bin 0 = normal operation. 1 = row bin 2. two pixel rows are read per row output. image size is effectively reduced by a factor of 2 vertically while data rate and pixel clock are not affected. resulting frame rate is increased by 2. 2 = row bin 4. four pixel rows are read per row output. image size is effectively reduced by a factor of 4 vertically while data rate and pixel clock are not affected. resulting frame rate is increased by 4. 3 = not valid. 0 y 0, 1, 2 w 3:2 column bin 0 = normal operation. 1 = column bin 2. when set, image size is reduced by a factor of 2 horizontally. frame rate is not affected but data rate and pixel clock are reduced by one ? half that of master clock. 2 = column bin 4. when set, image size is reduced by a factor of 4 horizontally. frame rate is not affected but data rate and pixel clock are reduced by one ? fourth that of master clock. 3 = not valid. 0 y 0, 1, 2 w 4 row flip read out rows from bottom to top (upside down). when set, row readout starts from row (row start + window height) and continues down to (row start + 1). when clear, readout starts at row start and continues to (row start + window height ? 1). this ensures that the starting color is main- tained. 0 y 0, 1 w
mt9v032 www. onsemi.com 23 table 8. register descriptions 0x09 (9) shutter width 2 5 column flip read out columns from right to left (mirrored). when set, column readout starts from column (col start + window width) and continues down to (col start + 1). when clear, readout starts at col start and continues to (col start + window width ? 1). this ensures that the starting color is maintained. 0 y 0, 1 w 6 show dark rows when set, the programmed dark rows is output before the active window. frame valid is thus asserted earlier than normal. this has no effect on integration time or frame rate. whether the dark rows are shown in the image or not the definition frame start is before the dark rows are read out. 0 y 0, 1 w 7 show dark columns when set, the programmed dark columns are output before the active pixels in a line. line valid is thus asserted earlier than normal, and the horizontal blank time gets shorter by 18 pixel clocks. 0 y 0, 1 w 9:8 reserved reserved. 3 0x0e (14) monitor mode 0 monitor mode enable setting this bit puts the sensor into a cycle of sleeping for five minutes, and waking up to capture a programmable number of frames (r0xc0). clearing this bit resumes nor- mal operation. 0 y 0, 1 w 0x0f (15) pixel operation mode 2 color/mono should be set according to sensor type: 0 = monochrome. 1 = color. 0 y 0, 1 w 6 high dynamic range 0 = linear operation. 1 = high dynamic range. voltage and shutter width must be correctly set for saturation control to operate. 0 y 0, 1 w 0x1b (27) led_out control 0 disable led_out disable led_out output. when cleared, the output pin led_out is pulsed high when the sensor is undergoing exposure. 0 y 0, 1 w 1 invert led_out invert polarity of led_out output. when set, the output pin led_out is pulsed low when the sensor is undergoing exposure. 0 y 0, 1 w 0x1c (28) adc resolution control 1:0 adc mode 0 = invalid. 1 = invalid. 2 = 10 ? bit linear. 3 = 12 ? to10 ? bit companding. 2 y 2, 3 w 0x2c (44) vref_adc control 2:0 v ref _adc voltage level 0 = v ref _adc = 1.0v. 1 = v ref _adc = 1.1v. 2 = v ref _adc = 1.2v. 3 = v ref _adc = 1.3v. 4 = v ref _adc = 1.4v. 5 = v ref _adc = 1.5v. 6 = v ref _adc = 1.6v. 7 = v ref _adc = 2.1v. range: 1.0?2.1v; default: 1.4v v ref _adc for adc. 4 n 0?7 w 0x31 (49) v1 control 4:0 v1 voltage level v_step = bits (4:0) x 62.5mv + 0.5625v. range: 0.5625 ? 2.5v; default: 2.375v. usage: v_step1 hidy voltage. 1d (29) n 0?31 w 0x32 (50) v2 control
mt9v032 www. onsemi.com 24 table 8. register descriptions 0x32 (50) v2 control 4:0 v2 voltage level v_step = bits (4:0) x 62.5mv + 0.5625v. range: 0.5625 ? 2.5v; default: 2.0625v. usage: v_step2 hidy voltage. 18 (24) n 0?31 w 0x33 (51) v3 control 4:0 v3 voltage level v_step = bits (4:0) x 62.5mv + 0.5625v. range: 0.5625 ? 2.5v; default: 1.875v. usage: v_step3 hidy voltage. 15 (21) n 0?31 w 0x34 (52) v4 control 4:0 v4 voltage level v_step = bits (4:0) x 62.5mv + 0.5625v. range: 0.5625 ? 2.5v; default: 0.8125v. usage: v_step hidy parking voltage, also provides anti ? blooming when v_step is disabled. 4 n 0?31 w 0x35 (53) analog gain 6:0 analog gain analog gain = bits (6:0) x 0.0625 for values 16?31 analog gain = bits (6:0)/2 x 0.125 for values 32?64 for values 16?31: each lsb increases analog gain 0.0625v/v. a value of 16 = 1x gain. range: 1x to 1.9375x for values 32?64: each 2 lsb increases analog gain 0.125v/v. range: 2x to 4x. an lsb increase of 1 will not increase the gain; the value must be incremented by 2 no exception detection is installed and caution should be taken when programming 10 (16) y 16?64 w 0x36 (54) maximum analog gain 6:0 maximum analog gain this register is used by the automatic gain control (agc) as the upper threshold of gain. this ensures the new calibrated gain value does not exceed that which the mt9v032 sup- ports. range: 16 dec ?64 dec for 1x?4x respectively. note: no ex- ception detection is installed; caution should be taken when programming. 40 (64) y 16?64 w 0x42 (66) frame dark average 7:0 frame dark average the value read is the frame averaged black level, that is, used in the black level algorithm calculations. 0 r 0x46 (70) dark average thresholds 7:0 lower threshold lower threshold for targeted black level in adc lsbs. 1d (29) n 0?255 w 15:8 upper threshold upper threshold for targeted black level in adc lsbs. 23 (35) n 0?255 w 0x47 (71) black level calibration control 0 manual override manual override of black level correction. 1 = override automatic black level correction with pro- grammed values. (r0x48). 0 = normal operation (default). 0 n 0, 1 w 7:5 frames to average over two to the power of this value decide how many frames to average over when the black level algorithm is in the aver- aging mode. in this mode the running frame average is calculated from the following formula: running frame ave = old running frame ave ? (old running frame ave)/2n + (new frame ave)/ 2n. 4 n 0?7 w 15:8 reserved reserved. 80 (128) 0x48 (72) black level calibration value
mt9v032 www. onsemi.com 25 table 8. register descriptions 0x48 (72) black level calibration value 7:0 black level calibration value analog calibration offset: negative numbers are represented with two?s complement, which is shown in the following formula: sign = bit 7 (0 is positive, 1 is negative). if positive offset value: magnitude = bit 6:0. if negative offset value: magnitude = not (bit 6:0) + 1. during two ? wire serial interface read, this register returns the user ? programmed value when manual override is en- abled (r0x47 bit 0); otherwise, this register returns the re- sult obtained from the calibration algorithm. 0 n ?127 to 127 w 0x4c (76) black level calibration value step size 4:0 step size of calibration value this is the size calibration value may change (positively or negatively) from frame to frame. 1 calib lsb = ? adc lsb, assuming analog gain = 1. 2 n 0?31 w 0x70 (112) row noise correction control 1 3:0 number of dark pixels the number of pixels used in the row ? wise noise calcula- tion. 0 = 2 pixels. 1 = 4 pixels. 2 = 6 pixels. 4 = 10 pixels. 8 = 18 pixels. see ?row ? wise noise correction? for additional information. 4 y 0, 1, 2, 4, 8 w 4 reserved reserved. 1 5 enable noise correction 0 = normal operation. 1 = enable row noise cancellation algorithm. when this bit is set, on a per row basis, the dark average is subtracted from each pixel in the row, and then a constant (r0x72) is added. 1 y 0, 1 w 11 use black level average 1 = use black level frame average from the dark rows in the row noise correction algorithm for low gains. this frame average was taken before the last adjustment of the offset dac for that frame, so it might be slightly off. 0 = use the average value of the dark columns read out in each row as dark average. 0 y 0, 1 w 0x72 (114) row noise constant 7:0 row noise constant constant used in the row noise cancellation algorithm. it should be set to the dark level targeted by the black level algorithm plus the noise expected between the averaged values of dark columns. at default the constant is set to 42 lsb. 2a (42) y 0?255 w 0x73 (115) row noise correction control 2 9:0 dark start column ad- dress the starting column address for the dark columns to be used in the row ? wise noise correction algorithm. 2f7 (759) y 759?775 w 0x74 (116) pixel clock, frame and line valid control 0 invert line valid invert line valid. when set, line_valid is reset to logic ?0? when d out is valid. 0 y 0, 1 w 1 invert frame valid invert frame valid. when set, frame_valid is reset to logic ?0? when frame is valid. 0 y 0, 1 w 2 xor line valid 1 = line valid = ?continuous? line valid xor frame valid 0 = line valid determined by bit 3. ineffective if continuous line valid is set. 0 y 0, 1 w 3 continuous line valid 1 = ?continuous? line valid (continue producing line valid during vertical blank). 0 = normal line valid (default, no line valid during vertical blank). 0 y 0, 1 w
mt9v032 www. onsemi.com 26 table 8. register descriptions 0x74 (116) pixel clock, frame and line valid control 4 invert pixel clock invert pixel clock. when set, line_valid, frame_valid, and d out is set up to the rising edge of pixel clock, pixclk. when clear, they are set up to the falling edge of pixclk. 0 y 0, 1 w 0x7f (127) digital test pattern 9:0 two ? wire serial inter- face test data the 10 ? bit test data in this register is used in place of the data from the sensor. the data is inserted at the beginning of the digital signal processing. both test enable (bit 13) and use two ? wire serial interface (bit 10) must be set. 0 n 0?1023 w 10 use two ? wire serial in- terface test data 0 = use gray shade test pattern as test data. 1 = use two ? wire serial interface test data (bits 9:0) as test data. 0 n 0, 1 w 12:11 gray shade test pat- tern 0 = none. 1 = vertical shades. 2 = horizontal shades. 3 = diagonal shade. when bits (12:11)  0, the mt9v032 generates a gray shaded test pattern to be used as digital test data. ineffec- tive when use two ? wire serial interface test data (bit 10) is set. 0 n 0?3 w 13 test enable enable the use of test data/gray shaded test pattern in the signal chain. the data is inserted instead of data from the adcs. set r0x70 bit 5 = 0 when using this mode. if r0x70 bit 5 = 1, the row ? wise correction algorithm processes the test data values and the result is not accurate. 0 y 0, 1 w 14 flip two ? wire serial in- terface test data use only when two ? wire serial interface test data (bit 10) is set. when set, the two ? wire serial interface test data (bits 9:0) is used in place of the data from adc/memory on odd columns, while complement of the two ? wire serial interface test data is used on even columns. 0 n 0, 1 w 0x80 (128) ? 0x98 (152) tiled digital gain 3:0 tile gain tile digital gain = bits (3:0) x 0.25. see ?gain settings? for additional information on digital gain. 4 y 1?15 w 7:4 sample weight to indicate the weight of individual tile used in the automatic gain/exposure control algorithm. f (15) y 0?15 w refer to figure 25 for r0x99 (153) ? r0xa4 (164). 0x99 (153) digital tile coordinate 1 ? x ? direction 9:0 x 0/5 the starting x ? coordinate of digital tiles x0_*. 0 y 0?752 w 0x9a (154) digital tile coordinate 2 ? x ? direction 9:0 x 1/5 the starting x ? coordinate of digital tiles x1_*. 096 (150) y 0?752 w 0x9b (155) digital tile coordinate 3 ? x ? direction 9:0 x 2/5 the starting x ? coordinate of digital tiles x2_*. 12c (300) y 0?752 w 0x9c (156) digital tile coordinate 4 ? x ? direction 9:0 x 3/5 the starting x ? coordinate of digital tiles x3_*. 1c2 (450) y 0?752 w 0x9d (157) digital tile coordinate 5 ? x ? direction 9:0 x 4/5 the starting x ? coordinate of digital tiles x4_*. 258 (600) y 0?752 w 0x9e (158) digital tile coordinate 6 ? x ? direction 9:0 x 5/5 the ending x ? coordinate of digital tiles x4_*. 2f0 (752) y 0?752 w
mt9v032 www. onsemi.com 27 table 8. register descriptions 0x9f (159) digital tile coordinate 1 ? y ? direction 8:0 y 0/5 the starting y ? coordinate of digital tiles *_y0. 0 y 0?480 w 0xa0 (160) digital tile coordinate 2 ? y ? direction 8:0 y 1/5 the starting y ? coordinate of digital tiles *_y1. 60 (96) y 0?480 w 0xa1 (161) digital tile coordinate 3 ? y ? direction 8:0 y 2/5 the starting y ? coordinate of digital tiles *_y2. 0c0 (192) y 0?480 w 0xa2 (162) digital tile coordinate 4 ? y ? direction 8:0 y 3/5 the starting y ? coordinate of digital tiles *_y3. 120 (288) y 0?480 w 0xa3 (163) digital tile coordinate 5 ? y ? direction 8:0 y 4/5 the starting y ? coordinate of digital tiles *_y4. 180 (384) y 0?480 w 0xa4 (164) digital tile coordinate 6 ? y ? direction 8:0 y 5/5 the ending y ? coordinate of digital tiles *_y4. 1e0 (480) y 0?480 w 0xa5 (165) aec/agc desired bin 5:0 desired bin user ? defined ?desired bin? that gives a measure of how bright the image is intended 3a (58) y 1?64 w 0xa6 (166) aec update frequency 3:0 exp skip frame the number of frames that the aec must skip before updat- ing the exposure register (r0xbb). 2 y 0?15 w 0xa8 (168) aec low pass filter 1:0 exp lpf this value plays a role in determining the increment/decre- ment size of exposure value from frame to frame. if current bin ! 0 (r0xbc), when exp lpf = 0: actual new exposure = calculated new exposure when exp lpf = 1: if |(calculated new exp ? current exp) | > (current exp/4), actual new exposure = calculated new exposure, otherwise actual new exposure = current exp + (calculated new exp/2) when exp lpf = 2: if |(calculated new exp ? current exp) |> (current exp/4), actual new exposure = calculated new exposure, otherwise actual new exposure = current exp + (calculated new exp/4) 2 y 0?2 wx 0xa9 (169) agc output update frequency 3:0 gain skip frame the number of frames that the agc must skip before updat- ing the gain register (r0xba). 2 y 0?15 w 0xab (171) agc low pass filter
mt9v032 www. onsemi.com 28 table 8. register descriptions 0xab (171) agc low pass filter 1:0 gain lpf this value plays a role in determining the increment/decre- ment size of gain value from frame to frame. if current bin ! 0 (r0xbc) when gain lpf = 0 actual new gain = calculated new gain when exp lpf = 1 if |(calculated new gain ? current gain) | > (current gain/4), actual new gain = calculated new gain, otherwise actual new gain = current exp+ (calculated new gain/2) when exp lpf = 2: if |(calculated new gain ? current gain) | > (current gain /4), actual new gain = calculated new gain, otherwise actual new gain = current gain+ (calculated new gain/4). 2 y 0?2 w 0xaf (175) agc/aec enable 0 aec enable 0 = disable automatic exposure control 1 = enable automatic exposure control 1 y 0, 1 w 1 agc enable 0 = disable automatic gain control. 1 = enable automatic gain control. 1 y 0, 1 w 0xb0 (176) agc/aec pixel count 15 ? 0 pixel count the number of pixel used for the aec/agc histogram. abe0 (44,00) y 0?65535 w 0xb1 (177) lvds master control 0 pll bypass 0 = internal shift ? clk is driven by pll. 1 = internal shift ? clk is sourced from the lvds_by- pass_clk. 0 y 0, 1 w 1 lvds power ? down 0 = normal operation. 1 = power ? down lvds block. 1 y 0, 1 w 2 pll test mode 0 = normal operation. 1 = the pll output frequency is equal to the system clock frequency (26.6 mhz). 0 y 0, 1 w 3 lvds test mode 0 = normal operation. 1 = the ser_dataout_p drives a square wave in both stereo and stand ? alone modes). in stereo mode, ensure that ser_datain_p is logic ?0.? 0 y 0, 1 w 0xb2 (178) lvds shift clock control 2:0 shift ? clk delay element select the amount of shift ? clk delay that minimizes inter ? sensor skew. 0 y 0?7 w 4 lvds receiver power ? down when set, lvds receiver is disabled. 1 y 0, 1 w 0xb3 (179) lvds data control 2:0 data delay element select the amount of data delay that minimizes inter ? sensor skew. 0 y 0?7 w 4 lvds driver power ? down when set, data lvds driver is disabled. 1 y 0, 1 w 0xb4 (180) lvds latency 1:0 stream latency select the amount of delay so that the two streams are in sync. 0 y 0?3 w 0xb5 (181) lvds internal sync 0 lvds internal sync en- able when set, the mt9v032 generates sync pattern (data with all zeros except start bit) on lvds_ser_data_out. 0 y 0, 1 w 0xb6 (182) lvds payload control
mt9v032 www. onsemi.com 29 table 8. register descriptions 0xb6 (182) lvds payload control 0 use 10 ? bit pixel enable when set, all 10 pixel data bits are output in stand ? alone mode. control signals are embedded. if clear, 8 bits of pixel data are output with 2 control bits. see ?lvds output for- mat? for additional information. 0 y 0, 1 w 0xb7 (183) stereoscopy error control 0 enable stereo error detect set this bit to enable stereo error detect mechanism. 0 y 0, 1 w 1 enable stick stereo er- ror flag when set, the stereo error flag remains asserted once an error is detected unless clear stereo error flag (bit 2) is set. 0 y 0, 1 w 2 clear stereo error flag set this bit to clear the stereoscopy error flag (r0xb8 returns to logic 0). 0 y 0, 1 w 0xb8 (184) stereoscopy error flag 0 stereoscopy error flag stereoscopy error status flag. it is also directly connected to the error output pin. r 0xb9 (185) lvds data output 15:0 combo reg this 16 ? bit value contains both 8 ? bit pixel values from both stereoscopic master and slave sensors. it can be used in diagnosis to determine how well in sync the two sensors are. captures the state when master sensor has issued a reserved byte and slave has not. note: this register should be read from the stereoscopic master sensor only. r 0xba (186) agc gain output 6:0 agc gain status register to report the current gain value obtained from the agc algorithm. 10 (16) r 0xbb (187) aec exposure output 15:0 aec exposure status register to report the current exposure value obtained from the aec algorithm. 00c8 (200) r 0xbc (188) agc/aec current bin 5:0 current bin status register to report the current bin of the histogram. r 0xbd (189) maximum total shutter width 15:0 maximum total shutter width this register is used by the automatic exposure control (aec) as the upper threshold of exposure. this ensures the new calibrated integration value does not exceed that which the mt9v032 supports. 01e0 (480) y 1?2047 w 0xbe (190) agc/aec bin difference threshold 7:0 bin difference thresh- old this register is used by the aec only when exposure reach- es its minimum value of 1. if the difference between desired bin (r0xa5) and current bin (r0xbc) is larger than the threshold, the exposure is increased. 14 (20) y 0?63 w 0xbf (191) field vertical blank 8:0 field vertical blank the number of blank rows between odd and even fields. note: for interlaced (both field) mode only. see r0x07[2:0]. 16 (22) y 0?255 w 0xc0 (192) monitor mode capture control 7:0 image capture numb the number of frames to be captured during the wake ? up period when monitor mode is enabled. 0a (10) y 0?255 w 0xc1 (193) thermal information 9:0 temperature output status register to report the temperature of sensor. updated once per frame. r 0xc2 (194) analog controls 6 reserved reserved. 1 n 0, 1 w
mt9v032 www. onsemi.com 30 table 8. register descriptions 0xc2 (194) analog controls 7 anti ? eclipse enable setting this bit turns on anti ? eclipse circuitry. 0 n 0, 1 w 11:13 v_rst_lim voltage level v_rst_lim = bits (2:0) 50mv + 1.95v range: 1.95?2.30v; default: 2.00v usage: for anti ? eclipse reference voltage control 1 n 0?7 w 0xc3 (195) ntsc frame valid control 0 extend frame valid when set, frame valid is extended for half ? line in length at the odd field. 0 y 0, 1 w 1 replace fv/lv with ped/snyc when set, frame valid and line valid is replaced by ped and sync signals respectively. 0 y 0, 1 w 0xc4 (196) ntsc horizontal blanking control 7:0 front porch width the front porch width in number of master clock cycle. ntsc standard is 1.5  sec 0.1  sec 16 (22) y 0?255 w 15:8 sync width the sync pulse width in number of master clock cycle. ntsc standard is 4.7  sec 0.1  sec. 044 (68) y 0?255 w 0xc5 (197) ntsc vertical blanking control 7:0 equalizing pulse width the pulse width in number of master clock cycle. ntsc standard is 2.3  sec 0.1  sec. 21 (33) y 0?255 w 15:8 vertical serration width the pulse width in number of master clock cycle. ntsc standard is 4.7  sec 0.1  sec. 44 (68) y 0?255 w 0xf0 (240) bytewise address bytewise address special address to perform 8 ? bit reads and writes to the sensor. see the ?two ? wire serial interface sam- ple read and write sequences? for further details on how to use this functionality. 0xfe (254) register lock 15:0 register lock code to lock all registers except r0xfe, program data with 0xdead; to unlock two ? wire serial interface, program data with 0xbeef. when two ? wire serial interface is locked, any subsequent two ? wire serial interface write to register other than to two ? wire serial interface protect enable register is ignored until two ? wire serial interface is unlocked. to lock register 13 only, program data with 0xdeaf; to unlock, program data with 0xbeef. when register 13 is locked, any subsequent two ? wire serial interface write to this register only is ignored until register is unlocked. beef (48879) n 48879, 57005, 57007 w
mt9v032 www. onsemi.com 31 feature description operational modes the mt9v032 works in master, snapshot, or slave mode. in master mode the sensor generates the readout timing. in snapshot mode it accepts an external trigger to start integration, then generates the readout timing. in slave mode the sensor accepts both external integration and readout controls. the integration time is programmed through the two ? wire serial interface during master or snapshot modes, or controlled through externally generated control signal during slave mode. master mode there are two possible operation methods for master mode: simultaneous and sequential. one of these operation modes must be selected through the two ? wire serial interface. simultaneous master mode in simultaneous master mode, the exposure period occurs during readout. the frame synchronization waveforms are shown in figure13 and figure 14. the exposure and readout happen in parallel rather than sequentially, making this the fastest mode of operation. figure 13. simultaneous master mode synchronization waveforms #1 readout time > exposure time readout time led_out frame_valid xxx vertical blanking xxx xxx line_valid d out (9:0) led_out frame_valid xxx xxx xxx line_valid d out (9:0 ) vertical blanking exposure time exposure time > readout time figure 14. simultaneous master mode synchronization waveforms #2 d out (9:0) when exposure time is greater than the sum of vertical blank and window height, the number of vertical blank rows is increased automatically to accommodate the exposure time. sequential master mode in sequential master mode the exposure period is followed by readout. the frame synchronization waveforms for sequential master mode are shown in figure15. the frame rate changes as the integration time changes.
mt9v032 www. onsemi.com 32 figure 15. sequential master mode synchronization waveforms xxx xxx xxx exposure time led_out frame_valid line_valid d out (9:0) snapshot mode in snapshot mode the sensor accepts an input trigger signal which initiates exposure, and is immediately followed by readout. figure 16 shows the interface signals used in snapshot mode. in snapshot mode, the start of the integration period is determined by the externally applied exposure pulse that is input to the mt9v032. the integration time is preprogrammed via the two ? wire serial interface on r0x0b. after the frame?s integration period is complete the readout process commences and the syncs and data are output. sensor in snapshot mode can capture a single image or a sequence of images. the frame rate may only be controlled by changing the period of the user supplied exposure pulse train. the frame synchronization waveforms for snapshot mode are shown in figure 17. controller mt9v032 exposure sysclk d out (9:0 ) pixclk line_valid frame_valid figure 16. snapshot mode frame synchronization waveforms d out (9:0) figure 17. snapshot mode frame synchronization waveforms xxx xxx xxx d out (9:0 ) line_valid exposure time led_out frame_valid exposure d out (9:0) slave mode in slave mode, the exposure and readout are controlled using the exposure, stfrm_out, and stln_out pins. when the slave mode is enabled, stfrm_out and stln_out become input pins. the start and end of integration are controlled by exposure and stfrm_out pulses, respectively. while a stfrm_out pulse is used to stop integration, it is also used to enable the readout process.
mt9v032 www. onsemi.com 33 after integration is stopped, the user provides stln_out pulses to trigger row readout. a full row of data is read out with each stln_out pulse. the user must provide enough time between successive stln_out pulses to allow the complete readout of one row. it is also important to provide additional stln_out pulses to allow the sensors to read the vertical blanking rows. it is recommended that the user program the vertical blank register (r0x06) with a value of 4, and achieve additional vertical blanking between frames by delaying the application of the stfrm_out pulse. the elapsed time between the rising edge of stln_out and the first valid pixel data is [horizontal blanking register (r0x05) + 4] clock cycles. figure 18. slave mode operation exposure stfrm_out led_out stln_out line_valid (input) (input) (input) (output) (output) 1 ? row time 1 ? row time 98 master clocks 2 master clocks vertical blanking (def=45 lines) integration time signal path the mt9v032 signal path consists of a programmable gain, a programmable analog of fset, and a 10 ? bit adc. see ?black level calibration? for the programmable offset operation description. figure 19. signal path pixel output (reset minus signal) offset correction voltage (r0x48 or result of blc) gain selection (r0x35 or result of agc) adc data (9:0) 10 (12) bit adc c1 c2 +
mt9v032 www. onsemi.com 34 on ? chip biases adc voltage reference the adc voltage reference is programmed through r0x2c, bits 2:0. the adc reference ranges from 1.0v to 2.1v. the default value is 1.4v. the increment size of the voltage reference is 0.1v from 1.0v to 1.6v (r0x2c[2:0] values 0 to 6). at r0x2c[2:0] = 7, the reference voltage jumps to 2.1v. the effect of the adc calibration does not scale with v ref . instead it is a fixed value relative to the output of the analog gain stage. at default, one lsb of calibration equals two lsb in output data (1lsb offset = 2mv, 1lsb adc = 1mv). it is very important to preserve the correct values of the other bits in r0x2c. the default register setting is 0x0004. v_step voltage reference this voltage is used for pixel high dynamic range operations, programmable from r0x31 through r0x34. chip version chip version registers r0x00 and r0xff are read ? only.
mt9v032 www. onsemi.com 35 window control registers r0x01 column start, r0x02 row start, r0x03 window height (row size), and r0x04 window width (column size) control the size and starting coordinates of the window. the values programmed in the window height and width registers are the exact window height and width out of the sensor. the window start value should never be set below four. to read out the dark rows set bit 6 of r0x0d. in addition, bit 7 of r0x0d can be used to display the dark columns in the image.
mt9v032 www. onsemi.com 36 blanking control horizontal blanking and vertical blanking registers r0x05 and r0x06 respectively control the blanking time in a row (horizontal blanking) and between frames (vertical blanking). ? horizontal blanking is specified in terms of pixel clocks. ? vertical blanking is specified in terms of numbers of rows. the actual imager timing can be calculated using table4 and table 5 which describe ?row timing and frame_valid/line_valid signals.? the minimum number of vertical blank rows is 4.
mt9v032 www. onsemi.com 37 pixel integration control total integration r0x0b total shutter width (in terms of number of rows) this register (along with the window width and horizontal blanking registers) controls the integration time for the pixels. the actual total integration time, t int, is: t int  (number of rows of integration x row time)  overhead (eq. 1) where: ? the number of rows integration is equal to the result of automatic exposure control (aec) which may vary from frame to frame, or, if aec is disabled, the value in r0x0b ? row time = (r0x04 + r0x05) master clock periods ? overhead = (r0x04 + r0x05 ? 255) master clock periods typically, the value of r0x0b (total shutter width) is limited to the number of rows per frame (which includes vertical blanking rows), such that the frame rate is not affected by the integration time. if r0x0b is increased beyond the total number of rows per frame, it is required to add additional blanking rows using r0x06 as needed. a second constraint is that t int must be adjusted to avoid banding in the image from light flicker. under 60hz flicker, this means frame time must be a multiple of 1/120 of a second. under 50hz flicker, frame time must be a multiple of 1/100 of a second. changes to integration time with automatic exposure control disabled (r0xaf, bit 0 is cleared to low), and if the total integration time (r0x0b) is changed through the two ? wire serial interface while frame_valid is asserted for frame n , the first frame output using the new integration time is frame ( n + 2 ). similarly, when automatic exposure control is enabled, any change to the integration time for frame n first appears in frame ( n + 2 ) output. the sequence is as follows: 1. during frame n , the new integration time is held in the r0x0b live register. 2. at the start of frame ( n + 1 ), the new integration time is transferred to the exposure control module. integration for each row of frame ( n + 1 ) has been completed using the old integration time. the earliest time that a row can start integrating using the new integration time is immediately after that row has been read for frame ( n + 1 ). the actual time that rows start integrating using the new integration time is dependent on the new value of the integration time. 3. when frame ( n + 1 ) is read out, it is integrated using the new integration time. if the integration time is changed (r0x0b written) on successive frames, each value written is applied to a single frame; the latency between writing a value and it affecting the frame readout remains at two frames. however, when automatic exposure control is disabled, if the integration time is changed through the two ? wire serial interface after the falling edge of frame_valid for frame n , the first frame output using the new integration time becomes frame ( n+3 ). frame_valid led_out new integration programmed actual integration image data frame start figure 20. latency when changing integration int = 200 rows int = 300 rows int = 200 rows int = 300 rows output image with int = 200 rows output image with int = 300 rows
mt9v032 www. onsemi.com 38 exposure indicator the exposure indicator is controlled by: ? r0x1b led_out control the mt9v032 provides an output pin, led_out, to indicate when the exposure takes place. when r0x1b bit 0 is clear, led_out is high during exposure. by using r0x1b, bit 1, the polarity of the led_out pin can be inverted. high dynamic range high dynamic range is controlled by: ? r0x08 shutter width 1 ? r0x09 shutter width 2 ? r0x0a shutter width control ? r0x31 ? r0x34 v_step voltages in the mt9v032, high dynamic range (that is, r0x0f, bit 6 = 1) is achieved by controlling the saturation level of the pixel (hdr or high dynamic range gate) during the exposure period. the sequence of the control voltages at the hdr gate is shown in figure 21. after the pixels are reset, the step voltage, v_step, which is applied to hdr gate, is set up at v1 for integration time t 1 then to v2 for time t 2 , then v3 for time t 3 , and finally it is parked at v4, which also serves as an antiblooming voltage for the photodetector. this sequence of voltages leads to a piecewise linear pixel response, illustrated (in approximates) in figure 21. v aa (3.3v) figure 21. sequence of control voltages at the hdr gate exposure hdr voltage v1~1.4v v2~1.2v v3~1.0v v4~0.8v t 1 t 2 t 3 v aa (3.3v) v1~1.4v v2~1.2v v3~1.0v t 1 t 2 t 3 output light intensity dv1 dv2 dv3 1/t 1 1/t 2 2 1/t 3 figure 22. sequence of voltages in a piecewise linear pixel response the parameters of the step voltage v_step which takes values v1, v2, and v3 directly af fect the position of the knee points in figure 22. light intensities work approximately as a reciprocal of the partial exposure time. typically, t 1 is the longest exposure, t 2 shorter, and so on. thus the range of light intensities is shortest for the first slope, providing the highest sensitivity. the register settings for v_step and partial exposures are: v1 = r0x31, bits 4:0 v2 = r0x32, bits 4:0 v3 = r0x33, bits 4:0 v4 = r0x34, bits 4:0 t int = t 1 + t 2 + t 3 there are two ways to specify the knee points timing, the first by manual setting (default) and the second by automatic knee point adjustment. when the auto adjust enabler is set to high (low by default), the mt9v032 calculates the knee points automatically using the following equations: t 1  t int  t 2  t 3 (eq. 2)  t 2  t int x(1  2) r0x0a,bits3:0 (eq. 3)  t 3  t int x(1  2) r0x0a,bits7:4 (eq. 4) as a default for auto exposure, t 2 is 1/16 of t int, t 3 is 1/64 of t int.
mt9v032 www. onsemi.com 39 when the auto adjust enabler is disabled (default), t 1, t 2, and t 3 may be programmed through the two ? wire serial interface: t 1  (r0x08, bits 14:0) (eq. 5) t 2  (r0x09, bits 14:0)  (r0x08,bits 14:0) (eq. 6) t 3  t int  t 1  t 2 (eq. 7) t int may be based on the manual setting of r0x0b or the result of the aec. if the aec is enabled then the auto knee adjust must also be enabled. variable adc resolution by default, adc resolution of the sensor is 10 ? bit. additionally, a companding scheme of 12 ? bit into 10 ? bit is enabled by the r0x1c (28). this mode allows higher adc resolution which means less quantization noise at low ? light, and lower resolution at high light, where good adc quantization is not so critical because of the high level of the photon?s shot noise. 10 ? bit codes 1,024 768 512 256 256 512 1,024 2,048 4,096 12 ? bit codes 8 to 1 companding (2,048 256) 4 to 1 companding (1,536 384) 2 to 1 companding (256 128) no companding (256 256) figure 23. 12 ? to 10 ? bit companding chart
mt9v032 www. onsemi.com 40 gain settings changes to gain settings when the digital gain settings (r0x80 ? r0x98) are changed, the gain is updated on the next frame start. however, the latency for an analog gain change to take ef fect depends on the automatic gain control. if automatic gain control is enabled (r0xaf, bit 1 is set to high), the gain changed for frame n first appears in frame ( n + 1 ); if the automatic gain control is disabled, the gain changed for frame n first appears in frame ( n + 2 ). both analog and digital gain change regardless of whether the integration time is also changed simultaneously. new gain programmed actual gain image data frame start frame_valid gain = 3.5x gain = 3.0x gain = 3.5x gain = 3.0x output image with gain = 3.0x output image with gain = 3.5x figure 24. latency of analog gain change when agc is disabled
mt9v032 www. onsemi.com 41 analog gain analog gain is controlled by: ? r0x35 global gain the formula for gain setting is: gain  bits[6 : 0] x 0.0625 (eq. 8) the analog gain range supported in the mt9v032 is 1x ? 4x with a step size of 6.25 percent. to control gain manually with this register, the sensor must not be in agc mode. when adjusting the luminosity of an image, it is recommended to alter exposure first and yield to gain increases only when the exposure value has reached a maximum limit. analog gain  bits (6 : 0) x 0.0625 for values16  31 (eq. 9) analog gain  bits (6 : 0)  2 x 0.125 for values 32  64 (eq. 10) for values 16?31: each lsb increases analog gain 0.0625v/v. a value of 16 = 1x gain. range: 1x to 1.9375x. for values 32?64: each 2 lsb increases analog gain 0.125v/v (that is, double the gain increase for 2 lsb). range: 2x to 4x. odd values do not result in gain increases; the gain increases by 0.125 for values 32, 34, 36, and so on. digital gain digital gain is controlled by: ? r0x99 ? r0xa4 tile coordinates ? r0x80 ? r0x98 tiled digital gain and weight in the mt9v032, the image may be divided into 25 tiles, as shown in figure 25, through the two ? wire serial interface, and apply digital gain individually to each tile. x 0/5 x 1/5 x 2/5 x 3/5 x 4/5 x 5/5 y 0/5 y 2/5 y 1/5 y 3/5 y 4/5 y 5/5 figure 25. tiled sample x0_y0 x1_y0 x4_y0 x0_y1 x1_y1 x4_y1 x0_y2 x1_y2 x4_y2 x0_y3 x1_y3 x4_y3 x0_y4 x1_y4 x4_y4 registers 0x99 ? 0x9e and 0x9f ? 0xa4 represent the coordinates x 0/5 ? x 5/5 and y 0/5 ? y 5/5 in figure 25, respectively. digital gains of registers 0x80 ? 0x98 apply to their corresponding tiles. the mt9v032 supports a digital gain of 0.25 ? 3.75x. the formula for digital gain setting is: digital gain  bits [3 : 0] x 0.25 (eq. 11) black level calibration black level calibration is controlled by: ? r0x4c ? r0x42 ? r0x46?r0x48 the mt9v032 has automatic black level calibration on ? chip, and if enabled, its result may be used in the offset correction shown in figure 26.
mt9v032 www. onsemi.com 42 figure 26. black level calibration flow chart pixel output (reset minus signal) offset correction voltage (r0x48 or result of blc) gain selection (r0x35 or result of agc) adc data (9:0) 10 (12) bit adc c1 c2 + v ref (r0x2c) the automatic black level calibration measures the average value of pixels from 2 dark rows (1 dark row if row bin 4 is enabled) of the chip. (the pixels are averaged as if they were light ? sensitive and passed through the appropriate gain.) this row average is then digitally low ? pass filtered over many frames (r0x47, bits 7:5) to remove temporal noise and random instabilities associated with this measurement. then, the new filtered average is compared to a minimum acceptable level, low threshold, and a maximum acceptable level, high threshold. if the average is lower than the minimum acceptable level, the offset correction voltage is increased by a programmable offset lsb in r0x4c. (default step size is 2 lsb offset = 1 adc lsb at analog gain = 1x.) if it is above the maximum level, the offset correction voltage is decreased by 2 lsb (default). to avoid oscillation of the black level from below to above, the region the thresholds should be programmed so the difference is at least two times the offset dac step size. in normal operation, the black level calibration value/offset correction value is calculated at the beginning of each frame and can be read through the two ? wire serial interface from r0x48. this register is an 8 ? bit signed two?s complement value. however, if r0x47, bit 0 is set to ?1,? the calibration value in r0x48 may be manually set to override the automatic black level calculation result. this feature can be used in conjunction with the ?show dark rows? feature (r0x0d, bit 6) if using an external black level calibration circuit. the offset correction voltage is generated according to the following formulas: offset correction voltage  (8  bit signed two  s complement calibration value,  127to127) x 0.5mv (eq. 12) adc input voltage  (pixel output voltage  offset correction voltage) x analog gain (eq. 13) row ? wise noise correction row ? wise noise correction is controlled by the following registers: ? r0x70 row noise control ? r0x72 row noise constant ? r0x73 dark column start when the row ? wise noise cancellation algorithm is enabled, the average value of the dark columns read out is used as a correction for the whole row. the row ? wise correction is in addition to the general black level correction applied to the whole sensor frame and cannot be used to replace the latter. the dark average is subtracted from each pixel belonging to the same row, and then a positive constant is added (r0x72, bits 7:0). this constant should be set to the dark level targeted by the black level algorithm plus the noise expected on the measurements of the averaged values from dark columns; it is meant to prevent clipping from negative noise fluctuations. pixel value  adc value  dark column average  row noise constant (eq. 14) on a per ? row basis, the dark column average is calculated from a programmable number of dark columns (pixels) values (r0x70, bits 3:0). the default is 10 dark columns. of these, the maximum and minimum values are removed and then the average is calculated. if r0x70, bits 3:0 are set to ?0? (2 pixels), it is essentially equivalent to disabling the dark average calculation since the average is equal to ?0? after the maximum and minimum values are removed. r0x73 is used to indicate the starting column address of dark pixels that the row ? noise correction algorithm uses for calculation. in the mt9v032, dark columns which may be used are 759?776. r0x73 is used to select the starting column for the calculation. one additional note in setting the row ? noise correction register: 777  (r0x73, bits9 : 0)  number of dark pixels programmed in r0x70, bits3 : 0  1 (eq. 15)
mt9v032 www. onsemi.com 43 this is to ensure the column pointer does not go beyond the limit the mt9v032 can support. automatic gain control and automatic exposure control the integrated aec/agc unit is responsible for ensuring that optimal auto settings of exposure and (analog) gain are computed and updated every frame. automatic exposure control (aec) and automatic gain control (agc) can be individually enabled or disabled by r0xaf. when aec is disabled (r0xaf[0] = 0), the sensor uses the manual exposure value in r0x0b. when agc is disabled (r0xaf[1] = 0), the sensor uses the manual gain value in r0x35. see on semiconductor technical note tn ? 09 ? 81, ?mt9v032 aec and agc functions,? for further details . max. exposure (r 0 xbd) desired bin (desired luminance) (r 0 xa5) max. gain (r 0 x 36 ) exp. lpf (r 0 xa 8 ) exp. skip (r 0 xa 6 ) manual exp. (r 0 x 0 8) aec enable (r 0 xaf[ 0 ]) to exposure timing control to analog gain control r 0 xba aec output r 0 xbb agc output min gain min exp gain lpf (r 0 xab) gain skip (r 0 xa 9 ) manual gain (r 0 x 35 ) agc enable (r 0 xaf [1] ) current bin (current luminance (r 0 xbc) aec unit histogram generator unit agc unit 1 16 figure 27. controllable and observable aec/agc registers 0 1 1 0 the exposure is measured in row ? time by reading r0xbb. the exposure range is 1 to 2047. the gain is measured in gain ? units by reading r0xba. the gain range is 16 to 63 (unity gain = 16 gain ? units; multiply by 1/16 to get the true gain). when aec is enabled (r0xaf[0] = 1), the maximum auto exposure value is limited by r0xbd; minimum auto exposure is fixed at 1 row. when agc is enabled (r0xaf[1] = 1), the maximum auto gain value is limited by r0x36; minimum auto gain is fixed to 16 gain ? units. the exposure control measures current scene luminosity and desired output luminosity by accumulating a histogram of pixel values while reading out a frame. the desired exposure and gain are then calculated from this for subsequent frame. pixel clock speed the pixel clock speed is same as the master clock (sysclk) at 26.66 mhz by default. however, when column binning 2 or 4 (r0x0d, bit 2 or 3) is enabled, the pixel clock speed is reduced by half and one ? fourth of the master clock speed respectively. see ?read mode options? and ?column binning? for additional information. hard reset of logic the rc circuit for the mt9v032 uses a 10k  resistor and a 0.1  f capacitor. the rise time for the rc circuit is 1  s maximum. soft reset of logic soft reset of logic is controlled by: ? r0x0c reset bit 0 is used to reset the digital logic of the sensor while preserving the existing two ? wire serial interface configuration. furthermore, by asserting the soft reset, the sensor aborts the current frame it is processing and starts a new frame. bit 1 is a shadowed reset control register bit to explicitly reset the automatic gain and exposure control feature. these two bits are self ? resetting bits and also return to ?0? during two ? wire serial interface reads. standby control the sensor goes into standby mode by setting st andby to high. once the sensor detects that standby is asserted, it completes the current frame before disabling the digital logic, internal clocks, and analog power enable signal. to release the sensor from the standby mode, reset
mt9v032 www. onsemi.com 44 standby back to low. the lvds must be powered to ensure that the device is in standby mode. see ?appendix b ? power ? on reset and standby t iming? for more information on standby. monitor mode control monitor mode is controlled by: ? r0x0e monitor mode enable ? r0xc0 monitor mode image capture control the sensor goes into monitor mode when r0x0e bit 0 is set to high. in this mode, the sensor first captures a programmable number of frames (r0xc0), then goes into a sleep period for five minutes. the cycle of sleeping for five minutes and waking up to capture a number of frames continues until r0x0e bit 0 is cleared to return to normal operation. in some applications when monitor mode is enabled, the purpose of capturing frames is to calibrate the gain and exposure of the scene using automatic gain and exposure control feature. this feature typically takes less than 10 frames to settle. in case a larger number of frames is needed, the value of r0xc0 may be increased to capture more frames. during the sleep period, none of the analog circuitry and a very small fraction of digital logic (including a five ? minute timer) is powered. the master clock (sysclk) is therefore always required.
mt9v032 www. onsemi.com 45 read mode options (also see ?output data format? and ?output data timing?.) column flip by setting bit 5 of r0x0d the readout order of the columns is reversed, as shown in figure 28. row flip by setting bit 4 of r0x0d the readout order of the rows is reversed, as shown in figure 29. figure 28. readout of 6 pixels in normal and column flip output mode line_valid normal readout d out (9:0 ) reverse readout d out (9:0 ) p4,1 (9:0) p4,2 (9:0) p4,3 (9:0) p4,4 (9:0) p4,5 (9:0) p4,6 (9:0) p4,n (9:0) p4,n ? 1 (9:0) p4,n ? 2 (9:0) p4,n ? 3 (9:0) p4,n ? 4 (9:0) p4,n ? 5 (9:0) d out (9:0) d out (9:0) figure 29. readout of 6 rows in normal and row flip output mode line_valid normal readout d out (9:0 ) reverse readout d out (9:0 ) row4 (9:0) row5 (9:0) row6 (9:0) row7 (9:0) row8 7(9:0) row9 (9:0) row484 (9:0) row483 (9:0) row482 (9:0) row481 (9:0) row480 7(9:0) row479 (9:0) d out (9:0) d out (9:0) pixel binning in addition to windowing mode in which smaller resolution (cif, qcif) is obtained by selecting small window from the sensor array, the mt9v032 also provides the ability to show the entire image captured by pixel array with smaller resolution by pixel binning. pixel binning is based on combining signals from adjacent pixels by averaging. there are two options: binning 2 and binning 4. when binning 2 is on, 4 pixel signals from 2 adjacent rows and columns are combined. in binning 4 mode, 16 pixels are combined from 4 adjacent rows and columns. the image mode may work in conjunction with image flip. the binning operation increases snr but decreases resolution. enabling row bin2 and row bin4 improves frame rate by 2x and 4x respectively. the feature of column binning does not increase the frame rate in less resolution modes. row binning by setting bit 0 or 1 of r0x0d, only half or one ? fourth of the row set is read out, as shown in figure 30 below. the number of rows read out is half or one ? fourth of what is set in r0x03.
mt9v032 www. onsemi.com 46 row10 (9:0) row4 (9:0) row5 (9:0) row6 (9:0) row7 (9:0) row8 7(9:0) row9 (9:0) line_valid normal readout line_valid row bin 2 readout line_valid row bin 4 readout row11 (9:0) row4 (9:0) row6 (9:0) row8 (9:0) row10 (9:0) row4 (9:0) row8 (9:0) figure 30. readout of 8 pixels in normal and row bin output mode d out (9:0) d out (9:0) d out (9:0) column binning in setting bit 2 or 3 of r0x0d, the pixel data rate is slowed down by a factor of either two or four, respectively. this is due to the overhead time in the digital pixel data processing chain. as a result, the pixel clock speed is also reduced accordingly. figure 31. readout of 8 pixels in normal and column bin output mode d1234 (9:0) line_valid normal readout d out (9:0 ) pixclk line_valid column bin 2 readout d out (9:0 ) pixclk line_valid column bin 4 readout d out (9:0 ) pixclk d1 (9:0) d3 (9:0) d4 (9:0) d5 (9:0) d6 (9:0) d7 (9:0) d2 (9:0) d8 (9:0) d12 (9:0) d34 (9:0) d56 (9:0) d78 (9:0) d5678 (9:0) d out (9:0) d out (9:0) d out (9:0) interlaced readout the mt9v032 has two interlaced readout options. by setting r0x07[2:0] = 1, all the even ? numbered rows are read out first, followed by a number of programmable field blanking (r0xbf, bits 7:0), and then the odd ? numbered rows and finally vertical blanking (minimum is 4 blanking rows). by setting r0x07[2:0] = 2, only one field is read out; consequently, the number of rows read out is half what is set in r0x03. the row start address (r0x02) determines which field gets read out; if the row start address is even, the even field is read out; if row start address is odd, the odd field is read out.
mt9v032 www. onsemi.com 47 valid image ? even field 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 p 4,1 p 4,2 p 4,3 ???? p 4,n ? 1 p 4,n p 6,0 p 6,1 p 6,2 ???? p 6,n ? 1 p 6,n 00 00 00 ???????? 00 00 00 00 00 00 ???????? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 00 00 00 ???? 00 00 00 p m ? 2,0 p m ? 2,2 ??? p m ? 2,n ? 2 p m ? 2,n p m,2 p m,2 ???? p m,n ? 1 p m,n valid image ? odd field horizontal blanking field blanking vertical blanking p 5,1 p 5,2 p 5,3 ???? p 5,n ? 1 p 5,n p 7,0 p 7,1 p 7,2 ???? p 7,n ? 1 p 7,n p m ? 3,1 p m ? 3,2 ??? p m ? 3,n ? 1 p m ? 3,n p m,1 p m,1 ???? p m,n ? 1 p m,n 00 00 00 ???????????? 00 00 00 00 00 00 ???????????? 00 00 00 figure 32. spatial illustration of interlaced image readout when interlaced mode is enabled, the total number of blanking rows are determined by both field blanking register (r0xbf) and vertical blanking register (r0x06). the followings are their equations. field blanking  r0xbf, bits 7 : 0 (eq. 16) vertical blanking  r0x06, bits 8 : 0  r0xbf, bits 7 : 0 (eq. 17) with minimum vertical blanking requirement  4 (eq. 18) similar to progressive scan, frame_valid is logic low during the valid image row only. binning should not be used in conjunction with interlaced mode. line_valid by setting bit 2 and 3 of r0x74, the line_valid signal can get three different output formats. the formats for reading out four rows and two vertical blanking rows are shown in figure 33. in the last format, the line_valid signal is the xor between the continuous line_valid signal and the frame_valid signal. default frame_valid line_valid continuously frame_valid xor frame_valid line_valid line_valid figure 33. different line_valid formats lvds serial (stand ? alone/stereo) output the lvds interface allows for the streaming of sensor data serially to a standard off ? the ? shelf deserializer up to five meters away from the sensor. the pixels (and controls) are packeted?12 ? bit packets for stand ? alone mode and 18 ? bit packets for stereoscopy mode. all serial signalling (clk and data) is lvds. the lvds serial output could either be data from a single sensor (stand ? alone) or stream ? merged data from two sensors (self and its stereoscopic slave pair). the appendices describe in detail the topologies for both stand ? alone and stereoscopic modes. there are two standard deserializers that can be used. one for a stand ? alone sensor stream and the other from a stereoscopic stream. the deserializer attached to a
mt9v032 www. onsemi.com 48 stand ? alone sensor is able to reproduce the standard parallel output (8 ? bit pixel data, line_valid, frame_valid and pixclk). the deserializer attached to a stereoscopic sensor is able to reproduce 8 ? bit pixel data from each sensor (with embedded line_valid and frame_valid) and pixel ? clk. an additional (simple) piece of logic is required to extract line_valid and frame_valid from the 8 ? bit pixel data. irrespective of the mode (stereoscopy/stand ? alone), line_valid and frame_valid are always embedded in the pixel data. in stereoscopic mode, the two sensors run in lock ? step, implying all state machines are in the same state at any given time. this is ensured by the sensor ? pair getting their sys ? clks and sys ? resets in the same instance. configuration writes through the two ? wire serial interface are done in such a way that both sensors can get their configuration updates at once. the inter ? sensor serial link is designed in such a way that once the slave pll locks and the data ? dly , shft ? clk ? dly and s tream ? latency ? sel are configured, the master sensor streams good stereo content irrespective of any variation voltage and/or temperature as long as it is within specification. the configuration values of data ? dly , shft ? clk ? dly and stream ? latency ? sel are either predetermined from the board layout or can be empirically determined by reading back the stereo ? error flag. this flag gets asserted when the two sensor streams are not in sync when merged. the combo_reg is used for out ? of ? sync diagnosis. figure 34. serial output format for 6x2 frame internal pixclk internal parallel data internal line_valid internal frame_valid external serial data out notes: 1. external pixel values of 0, 1, 2, 3, are reserved (they only convey control information). any raw pixel of value 0, 1, 2 and 3 will be substituted with 4. 2. the external pixel sequence 1023, 0 1023 is a reserved sequence (conveys control information). any raw pixel sequence of 1023, 0, 1023 will be substituted with 1023, 4, 1023. p42 p41 p43 p44 p45 p46 p52 p53 p54 p56 p55 p51 1023 0 1023 1 p41 p42 p43 p44 p45 p46 2 1 p51 p52 p53 p54 p55 p56 3 lvds output format in stand ? alone mode, the packet size is 12 bits (2 frame bits and 10 payload bits); 10 ? bit pixels or 8 ? bit pixels can be selected. in 8 ? bit pixel mode (r0xb6[0] = 0), the packet consists of a start bit, 8 ? bit pixel data (with sync codes), the line valid bit, the frame valid bit and the stop bit. for 10 ? bit pixel mode (r0xb6[0] = 1), the packet consists of a start bit, 10 ? bit pixel data, and the stop bit. table 9. lvds packet format in stand ? alone mode (stereoscopy mode bit de ? asserted) 12 bit packet use_10 ? bit_pixels bit de ? asserted (8 ? bit mode) use_10 ? bit_pixels bit asserted (10 ? bit mode) bit[0] 1?b1(start bit) 1?b1(start bit) bit[1] pixeldata[2] pixeldata[0] bit[2] pixeldata[3] pixeldata[1] bit[3] pixeldata[4] pixeldata[2] bit[4] pixeldata[5] pixeldata[3] bit[5] pixeldata[6] pixeldata[4] bit[6] pixeldata[7] pixeldata[5] bit[7] pixeldata[8] pixeldata[6] bit[8] pixeldata[9] pixeldata[7] bit[9] line_valid pixeldata[8] bit[10] frame_valid pixeldata[9] bit[11] 1?b0(stop bit) 1?b0(stop bit) in stereoscopic mode (see figure 47), the packet size is 18 bits (2 frame bits and 16 payload bits). the packet consists of a start bit, the master pixel byte (with sync codes), the slave byte (with sync codes), and the stop bit.)
mt9v032 www. onsemi.com 49 table 10. lvds packet format in stereoscopy mode (stereoscopy mode bit asserted) 18 ? bit packet function bit[0] 1?b1 (start bit) bit[1] master sensor pixel data [2] bit[2] master sensor pixel data [3] bit[3] master sensor pixel data [4] bit[4] master sensor pixel data [5] bit[5] master sensor pixel data [6] bit[6] master sensor pixel data [7] bit[7] master sensor pixel data [8] bit[8] master sensor pixel data [9] bit[9] slave sensor pixel data [2] bit[10] slave sensor pixel data [3] bit[11] slave sensor pixel data [4] bit[12] slave sensor pixel data [5] bit[13] slave sensor pixel data [6] bit[14] slave sensor pixel data [7] bit[15] slave sensor pixel data [8] bit[16] slave sensor pixel data [9] bit[17] 1?b0 (stop bit) control signals line_valid and frame_valid can be reconstructed from their respective preceding and succeeding fl ags that are always embedded within the pixel data in the form of reserved words. table 11. reserved words in the pixel data stream pixel data reserved word flag 0 precedes frame valid assertion 1 precedes line valid assertion 2 succeeds line valid de ? assertion 3 succeeds frame valid de ? assertion when l vds mode is enabled along with column binning (bin 2 or bin 4, r0x0d[3:2]), the packet size remains the same but the serial pixel data stream repeats itself depending on whether 2x or 4x binning is set: ? for bin 2, lvds outputs double the expected data (pixel 0,0 is output twice in sequence, followed by pixel 0,1 twice, . . .). ? for bin 4, lvds outputs 4 times the expected data (pixel 0,0 is output 4 times in sequence followed by pixel 0,1 times 4, . . .). the receiving hardware will need to undersample the output stream getting data either every 2 clocks (bin 2) or every 4 (bin 4) clocks. if the sensor provides a pixel whose value is 0,1, 2, or 3 (that is, the same as a reserved word) then the outgoing serial pixel value is switched to 4
mt9v032 www. onsemi.com 50 electrical specifications table 12. dc electrical characteristics ( v pwr = 3.3v +0.3v; t a = ambient = 25 c ) symbol definition condition minimum typi cal maximum unit v ih input high voltage v pwr ? 0.5 ? v pwr + 0.3 v v il input low voltage ?0.3 ? 0.8 v i in input leakage current no pull ? up resistor; v in = v pwr or v gnd ?15.0 ? 15.0  a v oh output high voltage i oh = ?4.0 ma v pwr ? 0.7 ? ? v v ol output low voltage i ol = 4.0 ma ? ? 0.3 v i oh output high current v oh = v dd ? 0.7 ?9.0 ? ? ma i ol output low current v ol = 0.7 ? ? 9.0 ma v aa analog power supply default settings 3.0 3.3 3.6 v i pwr a analog supply current default settings ? 35.0 60.0 ma v dd digital power supply default settings 3.0 3.3 3.6 v i pwr d digital supply current default settings, c load = 10pf ? 35.0 60 ma vaapix pixel array power sup- ply default settings 3.0 3.3 3.6 v i pix pixel supply current default settings 0.5 1.4 3.0 ma v lvds lvds power supply default settings 3.0 3.3 3.6 v i lvds lvds supply current default settings 11.0 13.0 15.0 ma i pwr a standby analog standby supply current stdby = v dd 2 3 4  a i pwr d standby clock off digital standby supply current with clock off stdby = v dd , clkin = 0 mhz 1 2 4  a i pwr d standby clock on digital standby supply current with clock on stdby= v dd , clkin = 27 mhz ? 1.05 ? ma lvds driver dc specifications |v od | output differential volt- age r load = 100  1% 250 ? 400 mv |dv od | change in v od between complementary output states ? ? 50 mv v os output offset voltage 1.0 1.2 1.4 mv dv os change in v os between complementary output states ? ? 35 mv i os output current when driver shorted to ground 10 12 ma i oz output current when driver is tri ? state 1 10  a lvds receiver dc specifications v idth+ input differential | v gpd | < 925mv ?100 ? 100 mv iin input current ? ? 20  a
mt9v032 www. onsemi.com 51 table 13. absolute maximum ratings symbol parameter minimum maximum unit v supply power supply voltage (all supplies) ?0.3 4.5 v i supply total power supply current ? 200 ma i gnd total ground current ? 200 ma v in dc input voltage ?0.3 v dd + 0.3 v v out dc output voltage ?0.3 v dd + 0.3 v t stg 1 storage temperature ?40 +125 c stresses exceeding those listed in the maximum ratings table may damage the device. if any of these limits are exceeded, device function ality should not be assumed, damage may occur and reliability may be affected. 5. this is a stress rating only, and functional operation of the device at these or any other conditions above those indicated i n the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect reliability . table 14. ac electrical characteristics ( v pwr = 3.3v 0.3v; t a = ambient = 25 c; output load = 10pf ) definition symbol condition min typ max unit sysclk input clock frequency note 1 13.0 26.6 27.0 mhz clock duty cycle 45.0 50.0 55.0 % t r input clock rise time 1 2 5 ns t f input clock fall time 1 2 5 ns tplh p sysclk to pixclk propagation delay c load = 10pf 3 7 11 ns tpd pixclk to valid d out (9:0) propagation delay c load = 10pf ?2 0 2 ns tsd data setup time 14 16 ? ns thd data hold time 14 16 ? ns tpflr pixclk to line_valid propagation delay c load = 10pf ?2 0 2 ns tpflf pixclk to frame_valid propagation delay c load = 10pf ?2 0 2 ns 6. the frequency range specified applies only to the parallel output mode of operation. propagation delays for pixclk and data out signals the pixel clock is inverted and delayed relative to the master clock. the relative delay from the master clock (sysclk) rising edge to both the pixel clock (pixclk) falling edge and the data output transition is typically 7ns. note that the falling edge of the pixel clock occurs at approximately the same time as the data output transitions. see table 14 for data setup and hold times. propagation delays for frame_valid and line_valid signals the line_valid and frame_valid signals change on the same rising master clock edge as the data output. the line_valid goes high on the same rising master clock edge as the output of the first valid pixel?s data and returns low on the same master clock rising edge as the end of the output of the last valid pixel?s data. as shown in the output data timing, frame_valid goes high 143 pixel clocks before the first
mt9v032 www. onsemi.com 52 figure 35. propagation delays for pixclk and data out signals t t r t f d out (9:0) t plh p sysclk pixclk t hd sd t pd pd figure 36. propagation delays for frame_valid and line_valid signals frame_valid line_valid frame_valid line_valid t pixclk pixclk p t flr flf pp p p performance specifications table 15 summarizes the specification for each performance parameter. table 15. performance specifications parameter unit minimum typical maximum test number sensitivity lsb 400 572 745 1 dsnu lsb n/a 2.3 7.0 2 prnu % n/a 1.3 4.0 3 dynamic range db 52.0 54.4 n/a 4 snr db 33.0 37.3 n/a 5 notes: all specifications address operation is at t a =25 c ( 3 c) and supply voltage = 3.3v. image sensor was tested without a lens. multiple images were captured and analyzed. setup: vdd = vaa = vaapix = lvdsvdd = 3.3v. testing was done with default frame timing and default register settings, with the exception of aec/agc, row noise correction, and auto black level, which were disabled. performance definitions are detailed in the following sections. test 1: sensitivity a flat ? field light source (90 lux, color temperature 4400k, broadband, w/ ir cut filter) is used as an illumination source. signals are measured in lsb on the sensor output. a series of four frames are captured and averaged to obtain a scalar sensitivity output code. test 2: dark signal nonuniformity (dsnu) the image sensor is held in the dark. analog gain is changed to the maximum setting of 4x. signals are measured in lsb on the sensor output. a series of four frames are captured and averaged (pixel ? by ? pixel) into one average frame. dsnu is calculated as the standard deviation of this average frame. test 3: photo response nonuniformity (prnu) a flat ? field light source (90 lux, color temperature 4400k, broadband, with ir cut filter) is used as an illumination source. signals are measured in lsb on the sensor output. two series of four frames are captured and averaged (pixel ? by ? pixel) into one average frame, one series is captured under illuminated conditions, and one is captured in the dark. prnu is expressed as a percentage relating the standard deviation of the average frames difference (illuminated frame ? dark frame) to the average illumination level:
mt9v032 www. onsemi.com 53 prnu  100  1 n p
n p i  1 s illumination (i)  s dark (i) 2 1 n p
n p i  1 (s illumination (i)) (eq. 19) where s illumination (i) is the signal measured for the i ? th pixel from the average illuminated frame, s dark is the signal measured for the i ? th pixel from the average dark frame, and n p is the total number of pixels contained in the array. test 4: dynamic range a temporal noise measurement is made with the image sensor in the dark and analog gain changed to the maximum setting of 4x. signals are measured in lsb on the sensor output. two consecutive dark frames are captured. temporal noise is calculated as the average pixel value of the difference frame:  i 
n p i  1 (s 1i  s 2i ) 2 2 n p (eq. 20) where s 1i is the signal measured for the i ? th pixel from the first frame, s 2i is the signal measured for the i ? th pixel from the second frame, and n p is the total number of pixels contained in the array. the dynamic range is calculated according to the following formula: dynamicrange  20 . log (4  1022)  t (eq. 21) where t is the temporal noise measured in the dark at 4x gain. test 5: signal ? to ? noise ratio a flat ? field light source (90 lux, color temperature 4400k, broadband, with ir cut filter) is used as an illumination source. signals are measured in lsb on the sensor output. two consecutive illuminated frames are captured. temporal noise is calculated as the average pixel value of the difference frame (according to the formula shown in test 4). the signal ? to ? noise ratio is calculated as the ratio of the average signal level to the temporal noise according to the following formula: signal  to  noise  ratio  20 . log ((
n p i  1 s 1i )  n p)  t (eq. 22 ) where t is the temporal noise measured from the illuminated frames, s 1i is the signal measured for the i ? th pixel from the first frame, and n p is the total number of pixels contained in the array. two ? wire serial bus timing the two ? wire serial bus operation requires certain minimum master clock cycles between transitions. these are specified in the following diagrams in master clock cycles. figure 37. serial host interface start condition timing sclk s data 4 4 figure 38. serial host interface stop condition timing note: all timing are in units of master clock cycle. sclk s data 4 4
mt9v032 www. onsemi.com 54 figure 39. serial host interface data timing for write sclk 4 s data 4 note: s data is driven by an off-chip transmitter. figure 40. serial host interface data timing for read sclk 5 s data note: s data is pulled low by the sensor, or allowed to be pulled high by a pull-up resistor off-chip. figure 41. acknowledge signal timing after an 8-bit write to the sensor sclk sensor pulls down s data pin 6 s data 3 figure 42. acknowledge signal timing after an 8-bit read from the sensor sclk sensor tri ? states s data pin (turns off pull down) 7 s data 6 note: after a read, the master receiver must pull down s data to acknowledge receipt of data bits. when read sequence is complete, the master must generate a ?no acknowledge? by leaving s data to float high. on the following cycle, a start or stop bit may be used.
mt9v032 www. onsemi.com 55 temperature reference the mt9v032 contains a temperature reference circuit that can be used to measure relative temperatures. contact your on semiconductor field applications engineer (fae) for more information on using this circuit. figure 43. typical quantum efficiency ? color 0 10 20 30 40 350 450 550 650 750 850 950 1050 wavelength (nm) quantum efficiency (%) 5 15 25 35 blue red green (b) green (r) 0 10 20 30 40 350 450 550 650 750 850 950 1050 wavelength (nm) quantum efficiency (%) 50 60 figure 44. typical quantum efficiency ? monochrome
mt9v032 www. onsemi.com 56 figure 45. package mechanical drawing (case 848aq) seating plane 4.4 11.43 5.215 5.715 lid material: borosilicate glass 0.55 thickness wall material: alumina ceramic substrate material: alumina ceramic 0.7 thickness 8.8 4.4 5.715 4.84 5.215 0.8 typ 1.75 0.8 typ 8.8 48 1 10.9 0.1 ctr 47x 1.0 0.2 48x r 0.15 48x 0.40 0.05 11.43 10.9 0.1 ctr lead finish: au plating, 0.50 microns minimum thickness over ni plating, 1.27 microns minimum thickness 2.3 0.2 1.7 note: 1. optical center = package center first clear pixel optical center 1 c a b optical area optical area: maximum rotation of optical area relative to package edges: 1o maximum tilt of optical area relative to seating plane a:50 microns maximum tilt of optical area relative to top of cover glass d:100 microns a d 0.90 for reference only 1.400 0.125 0.35 for reference only v ctr ? 0.20 a b c h ctr ? 0.20 a b c image sensor die: 0.675 thickness 0.10 a 0.05 0.2 4x notes: 1. all dimensions in millimeters. 2. optical center = package center
mt9v032 www. onsemi.com 57 appendix a ? serial configurations with the l vds serial video output, the deserializer can be up to 8 meters from the sensor. the serial link can save on the cabling cost of 14 wires (d out [9:0], line_valid, frame_valid, pixclk, gnd). instead, just three wires (two serial lvds, one gnd) are sufficient to carry the video signal. configuration of sensor for stand ? alone serial output with internal pll in this configuration, the internal pll generates the shift ? clk (x12). the lvds pins ser_dataout_p and ser_dataout_n must be connected to a deserializer (clocked at approximately the same system clock frequency). figure 46 shows how a standard off ? the ? shelf deserializer (national semiconductor ds92lv1212a) can be used to retrieve the standard parallel video signals of d out (9:0), line_valid and frame_valid. sensor clk 26.6 mhz osc. 26.6 mhz osc. ds92lv1212a lvds ser_dataout lvds ser_datain lvds bypass_clkin lvds shift_clkout 8 meters (maximum) line_valid frame_valid pixel 8 ? bit configuration shown 82 figure 46. stand ? alone topology typical configuration of the sensor: 1. power up sensor. 2. enable lvds driver (set r0xb3[4]= 0). 3. de ? assert lvds power ? down (set r0xb1[1] = 0. 4. issue a soft reset (set r0x0c[0] = 1 followed by r0x0c[0] = 0. if necessary: 5. force sync patterns for the deserializer to lock (set r0xb5[0] = 1). 6. stop applying sync patterns (set r0xb5[0] = 0). configuration of sensor for stereoscopic serial output with internal ppl in this configuration the internal pll generates the shift ? clk (x18) in phase with the system ? clock. the lvds pins ser_dataout_p and ser_dataout_n must be connected to a deserializer (clocked at approximately the same system clock frequency). figure 47 shows how a standard off ? the ? shelf deserializer can be used to retrieve back d out (9:2) for both the master and slave sensors. additional logic is required to extract out line_valid and frame_valid embedded within the pixel data stream.
mt9v032 www. onsemi.com 58 sensor sensor 26.6 mhz osc. ds92lv16 lvds ser_dataout lvds ser_datain lvds bypass_clkin lvds shift_clkout 5 meters (maximum) pixel from master pixel from slave lv and fv are embedded in the data stream 82 figure 47. stereoscopic topology slave master lvds ser_dataout lvds shift_clkout 26.6 mhz osc. lvds bypass_clkin lvds ser_datain typical configuration of the master and slave sensors: 1. power up the sensors. 2. broadcast write to de ? assert lvds power ? down (set r0xb1[1] = 0). 3. individual write to master sensor putting its internal pll into bypass mode (set r0xb1[0] = 1). 4. broadcast write to both sensors to set the stereoscopy bit (set r0x07[5] = 1). 5. make sure all resolution, vertical blanking, horizontal blanking, window size, and aec/agc configurations are done through broadcast write to maintain lockstep. 6. broadcast write to enable lvds driver (set r0xb3[4] = 0). 7. broadcast write to enable lvds receiver (set r0xb2[4] = 0). 8. individual write to master sensor, putting its internal pll into bypass mode (set r0xb1[0] = 1). 9. individual write to slave sensor, enabling its internal pll (set r0xb1[0] = 0). 10. individual write to slave sensor, setting it as a stereo slave (set r0x07[6] = 1). 11. individual writes to master sensor to minimize the inter ? sensor skew (set r0xb2[2:0], r0xb3[2:0], and r0xb4[1:0] appropriately). use r0xb7 and r0xb8 to get lockstep feedback from stereo_error_flag. 12. broadcast write to issue a soft reset (set r0x0c[0] = 1 followed by r0x0c[0] = 0). note: the stereo_error_flag is set if a mismatch has occurred at a reserved byte (slave and master sensor?s codes at this reserved byte must match). if the flag is set, steps 11 and 12 are repeated until the stereo_error_flag remains cleared. broadcast and individual writes for stereoscopic topology in stereoscopic mode, the two sensors are required to run in lockstep. this implies that control logic in each sensor is in exactly the same state as its pair on every clock. to ensure this, all inputs that af fect control logic must be identical and arrive at the same time at each sensor. these inputs include: ? system clock ? system reset ? two ? wire serial interface clk ? scl ? two ? wire serial interface data ? sda
mt9v032 www. onsemi.com 59 slave sensor master sensor clk host 26.6 mhz osc. clk s_ctrl_adr[0] clk s_ctrl_adr[0] sda scl sda scl scl sda l l l host launches scl and sda on positive edge of sysclk all system clock lengths (l) must be equal. scl and sda lengths to each sensor (from the host) must also be equal. figure 48. two ? wire serial interface configuration in stereoscopic mode the setup in figure 48 shows how the two sensors can maintain lockstep when their configuration registers are written through the two ? wire serial interface. a write to configuration registers would either be broadcast (simultaneous writes to both sensors) or individual (write to just one sensor at a time). reads from configuration registers would be individual (reads from just one sensor at a time). one of the two serial interface slave address bits of the sensor is hardwired. the other is controlled by the host. this allows the host to perform either a broadcast or a one ? to ? one access. broadcast writes are performed by setting the same s_ctrl_adr input bit for both slave and master sensor. individual writes are performed by setting opposite s_ctrl_adr input bit for both slave and master sensor. similarly, individual reads are performed by setting opposite s_ctrl_adr input bit for both slave and master sensor.
mt9v032 www. onsemi.com 60 appendix b ? power ? on reset and standby timing reset, clocks, and standby there are no constraints concerning the order in which the various power supplies are applied; however, the mt9v032 requires reset in order operate properly at power ? up. refer to figure 49 for the power ? up, reset, and standby sequences. figure 49. power ? up, reset, clock and standby sequence non ? low ? power low ? power non ? low ? power power down wake up active standby pre ? standby active power up min 20 sysclk cycles note 3 reset # standby sysclk min 10 sysclk cycles does not respond to serial interface when standby = 1 min 10 sysclk cycles min 10 sysclk cycles d out [9:0] d out [9:0] data output sclk, s data two ? wire serial i/f driven = 0 v dd, v dd lvds v aa, vaapix 1. all output signals are defined during initial power ? up with reset# held low without sysclk being active. to properly reset the rest of the sensor, during initial power ? up, assert reset# (set to low state) for at least 750ns after all power supplies have stabilized and sysclk is active (being clocked). driving reset# to low state does not put the part in a low power state. 2. before using two ? wire serial interface,wait for 10 sysclk rising edges after reset# is de ? asserted. 3. once the sensor detects that standby has been asserted, it completes the current frame readout before entering standby mode. the user must supply enough sysclks to allow a complete frame raedout. see table 4, ?frame t ime,? for more information. 4. in standby, all video data and synchronization output signals are high ? z. 5. in standby, the two ? wire serial interface is not active. standby assertion restrictions standby cannot be asserted at any time. if st andby is asserted during a specific window within the vertical blanking period, the mt9v032 may enter a permanent standby state. this window (that is, dead zone) occurs prior to the beginning of the new frame readout. the permanent standby state is identified by the absence of the frame_valid signal on frame readouts. issuing a hardware reset (reset# set to low state) will return the image sensor to default startup conditions. this dead zone can be avoided by: 1. asserting standby during the valid frame readout time (frame_valid is high) and maintaining standby assertion for a minimum of one frame period. 2. asserting standby at the end of valid frame readout (falling edge of frame_valid) and maintaining standby assertion for a minimum of [5 + r0x06] row ? times. when st andby is asserted during the vertical blanking period (frame_valid is low), the standby signal must not change state between [vertical blanking register (r0x06) ? 5] row ? times and [v ertical blanking register + 5] row ? times after the falling edge of frame_valid.
mt9v032 www. onsemi.com 61 frame_valid vertical blanking period (r0x06) row ? times dead zone 10 row ? times 5 row ? times 5 row ? times figure 50. standby restricted location on semiconductor and are trademarks of semiconductor components industries, llc dba on semiconductor or its subsidiaries i n the united states and/or other countries. on semiconductor owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property . a listing of on semiconductor?s product/patent coverage may be accessed at www.onsemi.com/site/pdf/patent ? marking.pdf . on semiconductor reserves the right to make changes without further notice to any products herein. on semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does o n semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including wi thout limitation special, consequential or incidental damages. buyer is responsible for its products and applications using on semiconductor products, including compliance with all laws, reg ulations and safety requirements or standards, regardless of any support or applications information provided by on semiconductor. ?typical? parameters which may be provided in on semiconductor data sheets and/or specifications can and do vary in dif ferent applications and actual performance may vary over time. all operating parameters, including ?typic als? must be validated for each customer application by customer?s technical experts. on semiconductor does not convey any license under its patent rights nor the right s of others. on semiconductor products are not designed, intended, or authorized for use as a critical component in life support systems or any fda class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body. should buyer purchase or use on semicondu ctor products for any such unintended or unauthorized application, buyer shall indemnify and hold on semiconductor and its officers, employees, subsidiaries, affiliates, and distrib utors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that on semiconductor was negligent regarding the design or manufacture of the part. on semiconductor is an equal opportunity/affirmative action employer. this literature is subject to all applicable copyright laws and is not for resale in any manner. publication ordering information n. american technical support : 800 ? 282 ? 9855 toll free usa/canada europe, middle east and africa technical support: phone: 421 33 790 2910 japan customer focus center phone: 81 ? 3 ? 5817 ? 1050 mt9v032/d literature fulfillment : literature distribution center for on semiconductor 19521 e. 32nd pkwy, aurora, colorado 80011 usa phone : 303 ? 675 ? 2175 or 800 ? 344 ? 3860 toll free usa/canada fax : 303 ? 675 ? 2176 or 800 ? 344 ? 3867 toll free usa/canada email : orderlit@onsemi.com on semiconductor website : www.onsemi.com order literature : http://www.onsemi.com/orderlit for additional information, please contact your local sales representative ?


▲Up To Search▲   

 
Price & Availability of MT9V032C12STM-DR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X